Yeah this seems horribly broken packaging. What do you get for: $ cat /var/tmp/amdgpu-dkms-kernels
Remove all lines that reference uninstalled kernels and then try to remove the package again. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/2036339 Title: Unable to install linux-firmware (20230323.gitbcdcfbcf-0ubuntu1.6) "SOLVED" Status in linux-firmware package in Ubuntu: Invalid Bug description: O.S.: Ubuntu 23.04 Package: linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.6 Trying to install the package above, I receive these errors: Configuring linux-firmware (20230323.gitbcdcfbcf-0ubuntu1.6)... update-initramfs: Generating /boot/initrd.img-6.2.0-32-generic update-initramfs: Generating /boot/initrd.img-6.2.0-31-generic update-initramfs: Generating /boot/initrd.img-6.2.0-24-generic grep: /boot/config-6.2.0-24-generic: No such file or directory W: zstd compression (CONFIG_RD_ZSTD) not supported by the kernel, using gzip grep: /boot/config-6.2.0-24-generic: No such file or directory E: gzip compression (CONFIG_RD_GZIP) not supported by the kernel update-initramfs: failed for /boot/initrd.img-6.2.0-24-generic with exit code 1 dpkg: error processing package linux-firmware (--configure): subprocess installed linux-firmware package post-installation script returned error status 1 Errors were encountered while processing: linux-firmware E: Sub-process /usr/bin/dpkg returned an error code (1) I tried to uninstall the package with sudo apt remove --purge linux-firmware and then reinstall it, but without success. Same result when trying installing older packages 20230323.gitbcdcfbcf-0ubuntu1.2 and 20230323.gitbcdcfbcf-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2036339/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp