Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

apt dist-upgrade fails on Orange Pi Zero

Featured Replies

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

  • Author

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

 

  • Author

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.