$ sudo apt-get install --reinstall linux-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/375 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 351599 files and directories currently installed.)
Preparing to unpack .../linux-firmware_20240610.git1d67e66d-0pop1+system76~1732201256~22.04~9061b5f_amd64.deb ...
Unpacking linux-firmware (20240610.git1d67e66d-0pop1+system76~1732201256~22.04~9061b5f) over (20240610.git1d67e66d-0pop1+system76~1732201256~22.04~9061b5f) ...
Setting up initramfs-tools (0.140ubuntu13.4pop2~1711143149~22.04~e0b5994) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (20240610.git1d67e66d-0pop1+system76~1732201256~22.04~9061b5f) ...
Setting up linux-image-6.9.3-76060903-generic (6.9.3-76060903.202405300957~1738770968~22.04~d5f7c84) ...
Processing triggers for initramfs-tools (0.140ubuntu13.4pop2~1711143149~22.04~e0b5994) ...
update-initramfs: Generating /boot/initrd.img-6.9.3-76060903-generic
I: The initramfs will attempt to resume from /dev/sda13
I: (UUID=33337dc1-a921-4f29-9d60-62a3b268f33d)
I: Set the RESUME variable to override this.
kernelstub.Config : INFO Looking for configuration...
kernelstub.Drive : ERROR Could not find a block device for the a partition. This is a critical error and we cannot continue.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 56, in init
self.esp_fs = self.get_part_dev(self.esp_path)
File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 94, in get_part_dev
raise NoBlockDevError('Couldn\'t find the block device for %s' % path)
kernelstub.drive.NoBlockDevError: Couldn't find the block device for /boot/efi
run-parts: /etc/initramfs/post-update.d//zz-kernelstub exited with return code 174
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-6.9.3-76060903-generic (6.9.3-76060903.202405300957~1738770968~22.04~d5f7c84) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.9.3-76060903-generic
Error! The /var/lib/dkms/wireguard/1.0.20210606/6.9.3-76060903-generic/x86_64/dkms.conf for module wireguard includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch.
The /var/lib/dkms/wireguard/1.0.20210606/6.9.3-76060903-generic/x86_64/dkms.conf for module wireguard includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.9.3-76060903-generic
I: The initramfs will attempt to resume from /dev/sda13
I: (UUID=33337dc1-a921-4f29-9d60-62a3b268f33d)
I: Set the RESUME variable to override this.
kernelstub.Config : INFO Looking for configuration...
kernelstub.Drive : ERROR Could not find a block device for the a partition. This is a critical error and we cannot continue.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 56, in init
self.esp_fs = self.get_part_dev(self.esp_path)
File "/usr/lib/python3/dist-packages/kernelstub/drive.py", line 94, in get_part_dev
raise NoBlockDevError('Couldn\'t find the block device for %s' % path)
kernelstub.drive.NoBlockDevError: Couldn't find the block device for /boot/efi
run-parts: /etc/initramfs/post-update.d//zz-kernelstub exited with return code 174
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.9.3-76060903-generic (--configure):
installed linux-image-6.9.3-76060903-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
linux-image-6.9.3-76060903-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)