I have the same issue (although error messages in English):

$ sudo apt install --reinstall linux-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-screenshot libegl-mesa0:i386 libegl1:i386 libgles2:i386 libicu67:i386 
libopengl0 libopengl0:i386
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  linux-firmware
1 to upgrade, 0 to newly install, 0 to remove and 168 not to upgrade.
152 not fully installed or removed.
Need to get 0 B/238 MB of archives.
After this operation, 24.9 MB of additional disk space will be used.
(Reading database ... 334963 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-18-generic
update-initramfs: Generating /boot/initrd.img-5.15.0-17-generic
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)

I double checked the deb file and there's a
/lib/firmware/ath11k/WCN6855/hw2.0/regdb.bin file. Perhaps the issue
might be that /lib/firmware/ath11k/WCN6855/hw2.1/regdb.bin is a symlink
to this file in the same archive and during unpacking there's the issue
described in:

https://raphaelhertzog.com/2011/07/18/deciphering-one-of-dpkg-weirdest-
errors-unable-to-open-pathtofoo-dpkg-new/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1964794

Title:
  Faulty linux-firmware upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1964794/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to