A different file was reported for me:

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 install new version of 
'/lib/firmware/ath11k/WCN6855/hw2.1/amss.bin': No such file or directory
No apport report written because the error message indicates an issue on the 
local system


$ ls /lib/firmware/ath11k/WCN6855/ -la
total 12
drwxr-xr-x 3 root root 4096 Feb 18 17:28 .
drwxr-xr-x 6 root root 4096 Jan 11 13:31 ..
drwxr-xr-x 3 root root 4096 Mar 15 08:58 hw2.0
lrwxrwxrwx 1 root root    5 Feb 17 08:51 hw2.1 -> hw2.0

The problem could be resolved locally via
sudo rm /lib/firmware/ath11k/WCN6855 -rf

After upgrading the symbolic link is gone:

$ ls /lib/firmware/ath11k/WCN6855 -la
total 16
drwxr-xr-x 4 root root 4096 Mar 15 09:00 .
drwxr-xr-x 6 root root 4096 Mar 15 09:00 ..
drwxr-xr-x 2 root root 4096 Mar 15 09:00 hw2.0
drwxr-xr-x 2 root root 4096 Mar 15 09:00 hw2.1

-- 
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:
  Confirmed
Status in linux-firmware source package in Jammy:
  Confirmed

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