Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.99k stars 169 forks source link

[debian trixie] apt update: File has unexpected size (9006 != 1490). Mirror sync in progress? #4090

Closed markmandel closed 10 months ago

markmandel commented 10 months ago

Describe the bug A clear and concise description of what the bug is.

Running apt update, i get the following:

❯ lsb_release --all
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux trixie/sid
Release:        n/a
Codename:       trixie

❯ sudo apt update
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:2 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Hit:7 https://download.docker.com/linux/debian bookworm InRelease
# ... truncated ...
Hit:3 https://deb.debian.org/debian trixie InRelease
Hit:4 https://deb.debian.org/debian trixie-updates InRelease
Hit:5 https://deb.debian.org/debian trixie-backports InRelease
Hit:6 https://deb.debian.org/debian-security trixie-security InRelease
Get:11 https://xpra.org/beta trixie InRelease [4736 B]
Get:13 https://xpra.org/beta trixie/main arm64 Packages [888 B]
Get:12 https://xpra.org/beta trixie/main amd64 Packages [1490 B]
Err:12 https://xpra.org/beta trixie/main amd64 Packages
  File has unexpected size (9006 != 1490). Mirror sync in progress? [IP: 78.129.163.65 443]
  Hashes of expected file:
   - Filesize:1490 [weak]
   - SHA512:e29b4dd09cf9121bb6b25e01563a22a901d34ec71b44f12f5eaaf73021ef0ae225d146f664f81d4df43125230254e9e7a68b840f9f2de8a44fb86317161519f6
   - SHA256:0dceaf3b4444b7dd807a94cf82fbea94bc925b124907f538a6a32335c76550a5
   - SHA1:3bce7233cac3e47b4cf9bdf22320b2e9a4a80e0e [weak]
   - MD5Sum:3c11f4b46a731473d5dd134c11e416cd [weak]
  Release file created at: Fri, 29 Dec 2023 10:49:26 +0000
Fetched 9882 B in 2s (4433 B/s)
Reading package lists... Done
W: https://download.docker.com/linux/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://cli.github.com/packages/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Failed to fetch https://xpra.org/beta/trixie/main/binary-amd64/Packages.bz2  File has unexpected size (9006 != 1490). Mirror sync in progress? [IP: 78.129.163.65 443]
   Hashes of expected file:
    - Filesize:1490 [weak]
    - SHA512:e29b4dd09cf9121bb6b25e01563a22a901d34ec71b44f12f5eaaf73021ef0ae225d146f664f81d4df43125230254e9e7a68b840f9f2de8a44fb86317161519f6
    - SHA256:0dceaf3b4444b7dd807a94cf82fbea94bc925b124907f538a6a32335c76550a5
    - SHA1:3bce7233cac3e47b4cf9bdf22320b2e9a4a80e0e [weak]
    - MD5Sum:3c11f4b46a731473d5dd134c11e416cd [weak]
   Release file created at: Fri, 29 Dec 2023 10:49:26 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

To Reproduce sudo apt update

System Information (please complete the following information):

Additional context

Guessing this is similar to #4067 .

Thank you for Xpra!

totaam commented 10 months ago

Sorry about that, can you try again?

markmandel commented 10 months ago

No worries! Thanks, that worked perfectly!

❯ sudo apt update
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:2 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
# .. truncated ...
Hit:3 https://deb.debian.org/debian trixie InRelease
Hit:4 https://deb.debian.org/debian trixie-updates InRelease
Hit:5 https://deb.debian.org/debian trixie-backports InRelease
Hit:6 https://deb.debian.org/debian-security trixie-security InRelease
Get:11 https://xpra.org/beta trixie InRelease [4736 B]
Get:13 https://xpra.org/beta trixie/main arm64 Packages [888 B]
Get:12 https://xpra.org/beta trixie/main amd64 Packages [9006 B]
Fetched 13.7 kB in 3s (4554 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.

Thanks for the quick fix!