Jump to content

apt bookworm upgrade Hash Sum mismatch


Go to solution Solved by abugher,

Recommended Posts

Hello fellow Armbian folk,

 

I've been a happy armbian user for many years.

Recently, I've been trying to upgrade to bookworm from bullseye on my cubietruck, however have been hampered by Hash Sum mismatch errors from multiple armbian mirrors.

I have followed all instructions on clearing the /var/lib/apt/files, apt clean, but nothing seems to help. I've tried multiple armbian mirrors with no luck.

So now I'm seeking some community support.

image.thumb.png.bdf3c290da388c0b3c3fef421959fc39.png

 

image.thumb.png.51dc3b1e09db742c98bbe5ddff6fbba3.png

 

image.thumb.png.b59218e62a94deb7b5906e399448ddd7.png

 

image.thumb.png.64cfe7449a2556047c9f3b424bd19f61.png

Link to comment
Share on other sites

Thanks all, I did try the suggested upgrade fix below, but unfortunately no luck with my armbian upgrade.

The armbian files that fail Hash Sum mismatch are:

Err:1 https://au.sbcmirror.org/armbian/apt bookworm/main armhf base-files armhf 24.2.1-12.4+deb12u5-bookworm

Err:2 https://au.sbcmirror.org/armbian/apt bookworm/main armhf armbian-config all 24.2.1

 

While other armbian download files result in the following:

Err:3 http://au.sbcmirror.org/armbian/apt bookworm/main armhf armbian-firmware-full all 24.2.1
  File has unexpected size (433621460 != 433621492). Mirror sync in progress? [IP: 95.111.218.236 443]

Err:8 https://au.sbcmirror.org/armbian/apt bookworm/main armhf linux-dtb-current-sunxi armhf 24.2.1
  404  Not Found [IP: 95.111.218.236 443]

E: Failed to fetch https://au.sbcmirror.org/armbian/apt/pool/main/b/base-files/base-files_24.2.1-12.4%2bdeb12u5-bookworm_armhf__1-bookworm-1armbian1-Ba4f9-U12.4--deb12u5-R55fa.deb Hash Sum mismatch

 

Note: all the debian bookmark mirror files were all fine.

 

10 hours ago, porg said:

 

Link to comment
Share on other sites

  • Solution

I was observing similar issues on four systems, two Odroid HC1 and two Odroid MC1, all running Armbian Odroid XU4 image.  I think they were all upgraded from Bullseye to Bookworm at some point, but not recently.  They run updates once per day, and it looks like the first failure was 2 days and 16 hours before time of writing.  I observed "Hash Sum mismatch" errors and 404 errors, similar to OP, on each host, yesterday.  Automatic updates started succeeding again about an hour ago.

 

My assessment is that one more more mirrors were probably broken for a few days, and just got fixed.

 

On the other hand, the openmediavault forum has thread 51654 on what looks like similar errors, and they seem to have recognized a problem with this upgrade path and applied a known fix to resolve.  If you don't find that updates are suddenly working, now, I would check whether their solution applies to your situation.

Link to comment
Share on other sites

4 minutes ago, abugher said:

I was observing similar issues on four systems,


We (I think) hopefully fixed the problem. Is this still happening?

Link to comment
Share on other sites

Unfortunately yes Igor, the issue is still happening. Perhaps, I could try another armbian mirror.

My steps included clearing the /var/lib/apt/lists directory, sudo apt clean, sudo apt update (all fine), sudo apt upgrade --no-new-pkgs (resulting in armbian Hash Sum mismatch errors)

image.thumb.png.be45af4dd0c905cd0882b93fe6994d25.png

Link to comment
Share on other sites

8 hours ago, SupaLesz said:

I just switched to a US mirror in armbian.list and upgrade is progressing fine.


If you switch to automation (apt.armbian.com), then routing should be fine as we only keep a small selection of mirrors, that are verified, ATM. This is a workaround, that significantly affects performance - for some people/locations, updating is painfully slow. In a day, two, we will re-enable all mirrors.

Link to comment
Share on other sites

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