Renaud11232 Posted October 29, 2022 Posted October 29, 2022 Hello, I've been running Armbian for a while on an Orange Pi Zero without any issue. Every now and then I perform an apt update && apt dist-upgrade on that board but today the upgrade process failed with the following error and I'm not sure how to fix it. renaud@AnetA8:~$ sudo apt update && sudo apt dist-upgrade -y Hit:1 http://ports.ubuntu.com focal InRelease Hit:2 http://ports.ubuntu.com focal-security InRelease Hit:3 http://ports.ubuntu.com focal-updates InRelease Hit:4 http://ports.ubuntu.com focal-backports InRelease Hit:5 http://armbian.hosthatch.com/apt focal InRelease Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done Try Ubuntu Pro beta with a free personal subscription on up to 5 machines. Learn more at https://ubuntu.com/pro The following packages will be upgraded: armbian-firmware 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/9,409 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 38016 files and directories currently installed.) Preparing to unpack .../armbian-firmware_22.08.6_all.deb ... Unpacking armbian-firmware (22.08.6) over (22.08.1) ... Replacing files in old package linux-firmware (1.187.33) ... dpkg: error processing archive /var/cache/apt/archives/armbian-firmware_22.08.6_all.deb (--unpack): unable to open '/lib/firmware/ath11k/WCN6855/hw2.1/board-2.bin.dpkg-new': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/armbian-firmware_22.08.6_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) All other packages were successfully upgraded, the only one failing is armbian-firmware. Here is the output of armbianmonitor -u : http://ix.io/4en4 Thanks for any help 0 Quote
Werner Posted October 29, 2022 Posted October 29, 2022 You are using VERY old firmware. Try using armbian-config to switch to a newer kernel and then retry upgrading the firmware package. 0 Quote
Igor Posted October 29, 2022 Posted October 29, 2022 Remove that file manually and upgrade again. 0 Quote
Renaud11232 Posted October 29, 2022 Author Posted October 29, 2022 Thanks for these anwsers, I switched to kernel 5.15.74-sunxi successfully then removed the /var/cache/apt/archives/armbian-firmware_22.08.6_all.deb file but that didn't help. Here is the content of the /lib/firmware/ath11k/WCN6855/hw2.1/ directory : renaud@AnetA8:~$ ls -lah /lib/firmware/ath11k/WCN6855/hw2.1/ total 20K drwxr-xr-x 3 root root 4.0K Oct 29 12:40 . drwxr-xr-x 3 root root 4.0K Apr 18 2022 .. drwxr-xr-x 3 root root 4.0K May 21 18:10 1.1 lrwxrwxrwx 1 root root 71 Jul 26 10:40 amss.bin -> 1.1/WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.9/amss.bin lrwxrwxrwx 1 root root 69 Jul 26 10:40 m3.bin -> 1.1/WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.9/m3.bin renaud@AnetA8:~$ uname -r 5.15.74-sunxi 0 Quote
Renaud11232 Posted November 5, 2022 Author Posted November 5, 2022 I managed to fix this issue : I turns out hw2.1 was a symlink to hw2.0. Removing that symlink and recreating the directory fixed the issue. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.