Error in upgrading to 2.0.0~rc.22

I can’t upgrade to the latest versiion, it seems there’s a repository error:

Get:1 http://download.zerotier.com/debian/noble noble InRelease [20.5 kB]
Hit:2 https://download.docker.com/linux/ubuntu plucky InRelease
Get:3 https://apt.syncthing.net syncthing InRelease [17.5 kB]
Hit:4 http://ports.ubuntu.com/ubuntu-ports plucky InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports plucky-updates InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports plucky-backports InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports plucky-security InRelease
Get:8 https://apt.syncthing.net syncthing/candidate arm64 Packages [1437 B]
Fetched 39.5 kB in 6s (7102 B/s)
Reading package lists... Done
root@pa-server2:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Calculating upgrade... Done
The following packages will be upgraded:
  syncthing
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.0 MB of archives.
After this operation, 5120 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://apt.syncthing.net syncthing/candidate arm64 syncthing arm64 2.0.0~rc.22 [13.0 MB]
Err:1 https://apt.syncthing.net syncthing/candidate arm64 syncthing arm64 2.0.0~rc.22
  File has unexpected size (13023896 != 13023520). Mirror sync in progress? [IP: 185.199.111.133 443]
  Hashes of expected file:
   - SHA512:8f84ceb2e1a250658360b2e31bef501adf0a0cc5a191d2285bcff51b721068ac1ff6e74692a0c0b75bdb2402a727416c61246cb6eecb3ebf3a04c64a2a329ed4
   - SHA256:d186a1d86760c537370dcc73352fcb5ce3cac356548de0dd99fb9d467b420f82
   - SHA1:e95584324a25041b56209b8a9b66fc7aed7abf98 [weak]
   - MD5Sum:2a6fdd11bed5bedf337f5c74950e3781 [weak]
   - Filesize:13023520 [weak]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/14712850/476a7740-3bcd-4811-a449-3922d993a68f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250623%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250623T112357Z&X-Amz-Expires=1800&X-Amz-Signature=a5b911892f976c7bb12c524e456a9432ff2ef6fd3cb521063a970e29e73472c6&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dsyncthing_2.0.0.rc.22_arm64.deb&response-content-type=application%2Foctet-stream  File has unexpected size (13023896 != 13023520). Mirror sync in progress?
   Hashes of expected file:
    - SHA512:8f84ceb2e1a250658360b2e31bef501adf0a0cc5a191d2285bcff51b721068ac1ff6e74692a0c0b75bdb2402a727416c61246cb6eecb3ebf3a04c64a2a329ed4
    - SHA256:d186a1d86760c537370dcc73352fcb5ce3cac356548de0dd99fb9d467b420f82
    - SHA1:e95584324a25041b56209b8a9b66fc7aed7abf98 [weak]
    - MD5Sum:2a6fdd11bed5bedf337f5c74950e3781 [weak]
    - Filesize:13023520 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2 Likes

Yeah, looks like a release upload problem.

1 Like

Fixed! (And I understand the root cause… the nightly job must not run after the release job for the same tag, or it will clobber the Debian files with almost identical ones…)

1 Like