Jump to content

wrong armbian firmware checksum during upgrade


Go to solution Solved by Igor,

Recommended Posts

Posted

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]

<
Posted

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

 

  • Solution
Posted
3 hours ago, email_com said:

Mirror sync in progress?


Yes. This file fall into incoming by mistake, two weeks too soon. Since its harmless, it will stay.

Posted

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

 

Posted

Yes, this is temporally problem that shows up here and there or you simply forget to run apt update before?

 

We are having difficulties with maintaining our infrastructure (not enough people and other resources) which needs several improvements ...

Posted (edited)

👋
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
Posted
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.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines