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
A different file was reported for me:
Unpacking linux-firmware (20220314. gitcd01f857- 0ubuntu1) over (20220302. gitee0667aa- 0ubuntu1) ... apt/archives/ linux-firmware_ 20220314. gitcd01f857- 0ubuntu1_ all.deb (--unpack): ath11k/ WCN6855/ hw2.1/amss. bin': No such file or directory
dpkg: error processing archive /var/cache/
unable to install new version of '/lib/firmware/
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 ath11k/ WCN6855 -rf
sudo rm /lib/firmware/
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