Hi @joergh,
Unfortunately dkms status returns nothing:
laurenz@katuunko:~$ dkms status

@vimo
I tried to purge the Linux image but it was not possible, because it isn't 
installed anymore:
sudo apt purge linux-image-6.2.0-31-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'linux-image-6.2.0-31-generic' is not installed, so not removed
The following packages will be REMOVED:
  amdgpu-dkms
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 441 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.


I also tried to execute the other commands but it returned the same error:
sudo apt install -f
sudo apt clean
sudo apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  amdgpu-dkms
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 441 MB disk space will be freed.
Do you want to continue? [Y/n] Y 
(Reading database ... 214096 files and directories currently installed.)
Removing amdgpu-dkms (1:6.1.5.50601-1649308.22.04) ...
update-initramfs: Generating /boot/initrd.img-6.2.0-31-generic
grep: /boot/config-6.2.0-31-generic: No such file or directory
W: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip
grep: /boot/config-6.2.0-31-generic: No such file or directory
E: gzip compression (CONFIG_RD_GZIP) not supported by kernel
update-initramfs: failed for /boot/initrd.img-6.2.0-31-generic with 1.
dpkg: error processing package amdgpu-dkms (--remove):
 installed amdgpu-dkms package post-removal script subprocess returned error exi
t status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 amdgpu-dkms
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

-- 
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

Reply via email to