Debian Package Registry: Metadata broken: Failed to fetch. File has unexpected size. Mirror sync in progress? Sources disagree on hashes for supposedly identical version.
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
I am doing apt install from Debian repository stored in (experimental) debian package registry in gitlab v17.11.1-ee. I've been running pipelines that upload and (re-upload) .deb packages via curl, to several distributions and architectures under that project. And it seems that metadata in debian repository are not up to date (downloaded .deb files do not match size and hash from repository manifest...)
I don't know if that might matter, but i've configured registry to only keep 1 version of duplicate asset:

There is no error displayed on packages web ui in gitlab.
Fetched 186 MB in 12s (15.9 MB/s)
W: Sources disagree on hashes for supposedly identical version '1.0~bookworm1' of 'auxctl:arm64'.
E: Failed to fetch https://gitlab.example.com/api/v4/projects/169/packages/debian/pool/bookworm/r/rsasum/1.0%7ebookworm1/rsasum_1.0%7ebookworm1_arm64.deb File has unexpected size (8524 != 8528). Mirror sync in progress? [IP: 10.10.10.10 443]
Hashes of expected file:
- SHA256:9a5516948444afa9ddec7256d83ab27798e395c2721d3863630490f4ee48098d
- Filesize:8528 [weak]
E: Failed to fetch https://gitlab.example.com/api/v4/projects/169/packages/debian/pool/bookworm/o/optee-client/3.19.0-1%2bexample1%7ebookworm1/tee-supplicant_3.19.0-1%2bexample1%7ebookworm1_arm64.deb File has unexpected size (20284 != 20268). Mirror sync in progress? [IP: 10.10.10.10 443]
Hashes of expected file:
- SHA256:c5f2fab98d7428e4cbc895c68850142d6f9676ba7e067bb259dfe74d762d7c55
- Filesize:20268 [weak]
~~~~~~~~~~~~~ SHORTENED. error repeats itself for many packages... ~~~~~~~~~~~~
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
E: An unexpected failure occurred, exiting...
P: Begin unmounting filesystems...
P: Saving caches...
Edited by 🤖 GitLab Bot 🤖