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.

wrong armbian firmware checksum during upgrade

Featured Replies

The last upgrade off armbian on my Bananapi M1 went wrong and end with a checksum error:

 

# apt upgrade

 

The following packages will be upgraded:
  armbian-firmware
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 91.6 MB of archives.
After this operation, 92.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://netcup.armbian.com/apt bookworm/main armhf armbian-firmware all 25.2.1 [91.6 MB]
Ign:1 http://netcup.armbian.com/apt bookworm/main armhf armbian-firmware all 25.2.1
Err:1 http://apt.armbian.com bookworm/main armhf armbian-firmware all 25.2.1
  File has unexpected size (91589632 != 91589640). Mirror sync in progress? [IP: 152.53.15.45 80]
E: Failed to fetch http://apt.armbian.com/pool/main/a/armbian-firmware/armbian-firmware_25.2.1_all__1-SAe75d-B6c7f-R448a.deb  File has unexpected size (91589632 != 91589640). Mirror sync in progress? [IP: 152.53.15.45 80]

Solved by Igor

  • Author

I have retry multiple times but it always end with the same error the size of the downloaded file is always the same, so I guess there is something wrong with the file on the server

 

Hello.

 

I am getting similar error messages:

Radxa Rock5 Armbian 24.5.1 Jammy with Linux 5.10.110-rockchip-rk3588

 

 

Es wurden 111 MB in 2 s geholt (49,2 MB/s). 
E: Fehlschlag beim Holen von http://apt.armbian.com/pool/main/a/armbian-firmware/armbian-firmware_25.2.1_all__1-SAe75d-B6c7f-R448a.deb Datei hat eine unerwartete Größe (91589632 != 91589640). Eventuell läuft gerade eine Spiegel-Synchronisierung? [IP: 62.133.35.14 80]
E: Fehlschlag beim Holen von http://apt.armbian.com/pool/main/a/armbian-plymouth-theme/armbian-plymouth-theme_25.2.1_all__1-Bfe25-R448a.deb Datei hat eine unerwartete Größe (108120 != 108124). Eventuell läuft gerade eine Spiegel-Synchronisierung? [IP: 130.225.254.116 80]
E: Fehlschlag beim Holen von http://apt.armbian.com/pool/main/a/armbian-zsh/armbian-zsh_25.2.1_all__1-SAbfee-B6e0d-R448a.deb Datei hat eine unerwartete Größe (10829720 != 10829716). Eventuell läuft gerade eine Spiegel-Synchronisierung? [IP: 130.225.254.116 80]
E: Einige Archive konnten nicht herunt

 

👋
Long time no see @Igor

I am running :
- 
rock5b 
- Armbian_24.11.3_Rock-5b_bookworm_current_6.12.9_cinnamon-backported-mesa_desktop.img.xz0

- Linux rock-02 6.12.9-current-rockchip64 #1 SMP PREEMPT Thu Jan  9 12:33:55 UTC 2025 aarch64 GNU/Linux

 

 

I can confirm that these do not resolve the issue:
 

armbian-upgrade 
sudo apt-get -o Acquire::ForceIPv4=true -o Acquire::CompressionTypes::Order::=gz -o Acquire::http::No-Cache=true -o Acquire::BrokenProxy=true -o Acquire::http::Pipeline-Depth=0 update
sudo apt-get dist-upgrade -yq
sudo dpkg-reconfigure ca-certificates
sudo apt-get dist-upgrade -yq
sudo update-ca-certificates
sudo apt-get clean
sudo apt-get dist-upgrade -yq

 

 

apt failure

 

Get:7 http://mirror.vinehost.net/armbian/apt bookworm/main arm64 linux-dtb-current-rockchip64 arm64 25.2.1 [749 kB]
Fetched 160 MB in 9s (17.5 MB/s)
E: Failed to fetch http://apt.armbian.com/pool/main/a/armbian-firmware/armbian-firmware_25.2.1_all__1-SAe75d-B6c7f-R448a.deb  File has unexpected size (91589632 != 91589640). Mirror sync in progress? [IP: 81.179.123.56 80]
E: Failed to fetch http://apt.armbian.com/pool/main/a/armbian-plymouth-theme/armbian-plymouth-theme_25.2.1_all__1-Bfe25-R448a.deb  File has unexpected size (108120 != 108124). Mirror sync in progress? [IP: 62.133.35.14 80]
E: Failed to fetch http://apt.armbian.com/pool/main/a/armbian-zsh/armbian-zsh_25.2.1_all__1-SAbfee-B6e0d-R448a.deb  File has unexpected size (10829720 != 10829716). Mirror sync in progress? [IP: 81.179.123.56 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


one of the failing packages sha sum, in case we print sums on the armbian CI to try and see if CI pushed wrong package.
 

egidijus@rock-02:~$ sha256sum armbian-firmware_25.2.1_all__1-SAe75d-B6c7f-R448a.deb 
147e31e3e835f16914ef937b9b85f55e99706187dbacc2af8d74e0305a87fc1d  armbian-firmware_25.2.1_all__1-SAe75d-B6c7f-R448a.deb

 

Edited by giddy

7 minutes ago, giddy said:

Long time no see


Hey! :)

 

7 minutes ago, giddy said:

I can confirm that these do not resolve the issue:


When those three jobs finishes:
https://github.com/armbian/os/actions/runs/13238582459
https://github.com/armbian/os/actions/runs/13240767648

https://github.com/armbian/armbian.github.io/actions/workflows/generate-redirector-config.yml

it should be O.K.

Fundamental problem is that at this moment, repo and index is not in sync. Why that happened ... is another story, it should not happen.

 

First job checks and updates if there is something to pull to stable repository. It pushes to 1st class repo
Second job is optional in this case.
Third job checks all mirrors and only serve the ones where index and files are in sync.

Problem is that those jobs takes hours ... and in the mean time, repo is broken.

sudo rm -rf /var/lib/apt/lists/*

sudo apt clean

sudo apt update

sudo apt upgrade

 

works for me.

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.

Guest
Reply to this topic...

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.