question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debian Repositories are broken (File has unexpected size)

See original GitHub issue
Err 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:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
reivilibrecommented, Sep 13, 2021

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

2reactions
lplacommented, Sep 6, 2021

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):

...
Get:8 https://packages.riot.im/debian default InRelease [2.892 B]
Get:9 https://packages.riot.im/debian default/main amd64 Packages [956 B]
Err:9 https://packages.riot.im/debian default/main amd64 Packages
  File has unexpected size (957 != 956). Mirror sync in progress? [IP: 104.26.4.138 443]
  Hashes of expected file:
   - Filesize:956 [weak]
   - SHA256:ffbfd887d211b72fd3768d1af5eb4ea87be686c3c7433c1c5fdf5062b96e4fe6
   - SHA1:014e7762120d0e0edd5be661b927015b30d4a2ea [weak]
   - MD5Sum:054eeac6251b72f8e5c58878283abe46 [weak]
  Release file created at: Mon, 06 Sep 2021 07:22:56 +0000
Fetched 2.892 B in 1s (2.952 B/s)
Reading package lists... Done
E: Failed to fetch https://packages.riot.im/debian/dists/default/main/binary-amd64/Packages.gz  File has unexpected size (957 != 956). Mirror sync in progress? [IP: 104.26.4.138 443]
   Hashes of expected file:
    - Filesize:956 [weak]
    - SHA256:ffbfd887d211b72fd3768d1af5eb4ea87be686c3c7433c1c5fdf5062b96e4fe6
    - SHA1:014e7762120d0e0edd5be661b927015b30d4a2ea [weak]
    - MD5Sum:054eeac6251b72f8e5c58878283abe46 [weak]
   Release file created at: Mon, 06 Sep 2021 07:22:56 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found