Debian Repositories are broken (File has unexpected size)
See original GitHub issueErr https://packages.riot.im/debian default/main amd64 Packages
File has unexpected size (958 != 960). Mirror sync in progress? [IP: 104.26.5.138 443]
Hashes of expected file:
- Filesize:960 [weak]
- SHA256:1ada6e15f214dc8df560a1122434ee820488eb9c280f06946fac7791d1d61ec1
- SHA1:42efb05bd03745487bb528b270725f9731bdcaf0 [weak]
- MD5Sum:8883dbc6f5043b8f77fc80fbaa137945 [weak]
Release file created at: Sat, 04 Sep 2021 07:23:27 +0000
W: Failed to fetch https://packages.riot.im/debian/dists/default/main/binary-amd64/Packages.gz: File has unexpected size (958 != 960). Mirror sync in progress? [IP: 104.26.5.138 443]
Hashes of expected file:
- Filesize:960 [weak]
- SHA256:1ada6e15f214dc8df560a1122434ee820488eb9c280f06946fac7791d1d61ec1
- SHA1:42efb05bd03745487bb528b270725f9731bdcaf0 [weak]
- MD5Sum:8883dbc6f5043b8f77fc80fbaa137945 [weak]
Release file created at: Sat, 04 Sep 2021 07:23:27 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Debian package repository is broken (Packages.bz2: File has ...
The vscode Debian package repository seems to be broken: user@laptop:/etc/apt/sources.list.d$ sudo apt update Hit:1 ...
Read more >File has unexpected size (6622 != 6411). Mirror sync in ...
The ubuntu apt repo for percona appears to be broken. crit ticket filed: [PS-7674] File has unexpected size (6622 != 6411).
Read more >Apt update fails at chrome stable main: "File has unexpected ...
I would just wait a couple minutes (hours at most) and then try again. File has unexpected size (1103 != 1104). Mirror sync...
Read more >apt update in debian fails due file size mismatch - Vivaldi Forum
apt update in debian fails due file size mismatch. Vivaldi for Linux ... stable/main amd64 Packages File has unexpected size (1573 != 1154)....
Read more >Debian 7.x repository broken? - Elastic Discuss
It seems that the 7.x debian repository is currently broken : Get:7 ... stable/main amd64 Packages File has unexpected size (78886 !=
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is fixed again for now, but since this is a recurring problem, I think it’d be best to leave this open until someone in charge says that it’s been addressed (it sounds like it could be caching at the proxy server).
It seems that it is not completely fixed. I am still having that exact issue in my Ubuntu 20.04.3 desktop dev device (tested right now):