thanks Allan! For me a simple :

  rm /lib/firmware/ath11k/WCN6855/hw2.1

is all that was needed before restarting the update process.

The result is that before the failed upgrade it looked like this :

  lrwxrwxrwx 1 root root 5 Feb 17 08:51 hw2.1 -> hw2.0

and after the successful upgrade it now looks like this :

  drwxr-xr-x 2 root root  6 Mär 15 15:34 .
  lrwxrwxrwx 1 root root 17 Mär 14 11:40 amss.bin -> ../hw2.0/amss.bin
  lrwxrwxrwx 1 root root 20 Mär 14 11:40 board-2.bin -> ../hw2.0/board-2.bin
  lrwxrwxrwx 1 root root 15 Mär 14 11:40 m3.bin -> ../hw2.0/m3.bin
  lrwxrwxrwx 1 root root 18 Mär 14 11:40 regdb.bin -> ../hw2.0/regdb.bin

which at first glance is the same

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

Title:
  linux-firmware fails to upgrade to 20220314.gitcd01f857-0ubuntu1

Status in linux-firmware package in Ubuntu:
  Fix Committed
Status in linux-firmware source package in Jammy:
  Fix Committed

Bug description:
  linux-firmware fails to upgrade with:

  unable to open '/lib/firmware/ath11k/WCN6855/hw2.0/regdb.bin.dpkg-
  new': No such file or directory

  $ sudo apt dist-upgrade
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Calculating upgrade... Done
  The following packages will be upgraded:
    linux-firmware
  1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
  Need to get 0 B/238 MB of archives.
  After this operation, 24.9 MB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  (Reading database ... 272091 files and directories currently installed.)
  Preparing to unpack .../linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb 
...
  Unpacking linux-firmware (20220314.gitcd01f857-0ubuntu1) over 
(20220302.gitee0667aa-0ubuntu1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb 
(--unpack):
   unable to open '/lib/firmware/ath11k/WCN6855/hw2.0/regdb.bin.dpkg-new': No 
such file or directory
  No apport report written because the error message indicates an issue on the 
local system
  update-initramfs: Generating /boot/initrd.img-5.15.0-23-generic
  I: The initramfs will attempt to resume from /dev/dm-2
  I: (/dev/mapper/vgubuntu-swap_1)
  I: Set the RESUME variable to override this.
  update-initramfs: Generating /boot/initrd.img-5.15.0-22-generic
  I: The initramfs will attempt to resume from /dev/dm-2
  I: (/dev/mapper/vgubuntu-swap_1)
  I: Set the RESUME variable to override this.
  Errors were encountered while processing:
   /var/cache/apt/archives/linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1964814/+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