Forum archive
proxmox 7.3 turnkey 17.1.1 core apt update fails with "files has unexpected size Mirror sync in progress? [IP: 54.83.15.172 80]
proxmox 7.3 turnkey 17.1.1 core apt update fails with "files has unexpected size Mirror sync in progress? [IP: 54.83.15.172 80]"
I have been unable to install packages for 48 hours due to this error. Is something wrong with the Repo?
apt update
Hit:1 https://download.docker.com/linux/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://security.debian.org bullseye-security InRelease
Ign:4 http://archive.turnkeylinux.org/debian bullseye-security InRelease
Ign:5 http://archive.turnkeylinux.org/debian bullseye InRelease
Hit:6 http://archive.turnkeylinux.org/debian bullseye-security Release
Get:8 http://archive.turnkeylinux.org/debian bullseye Release [5659 B]
Get:9 http://archive.turnkeylinux.org/debian bullseye Release.gpg [833 B]
Get:10 http://archive.turnkeylinux.org/debian bullseye/main amd64 Packages [34.0 kB]
Err:10 http://archive.turnkeylinux.org/debian bullseye/main amd64 Packages
File has unexpected size (34074 != 34030). Mirror sync in progress? [IP: 54.83.15.172 80]
Hashes of expected file:
- Filesize:34030 [weak]
- SHA512:480a9ba7afd53bbf8cb22aa216543e81d93eda09cf24ff8e7658b2bc9a461a6d62ab81a6d4ed71d4014480cbfc2d32eb7959aa43a83b8297b5083b2dc0a6861c
- SHA256:4e1a3afb495ce060073d40eb68158bc07a52e18ad3b929fd517101ca900ce31d
- SHA1:4814cb4c75559f758422a39540af04be0136d715 [weak]
- MD5Sum:cb2e4f8dee8183fd81aa91bd80b9f4f0 [weak]
Release file created at: Wed, 02 Nov 2022 06:42:43 +0000
Fetched 6492 B in 1s (8696 B/s)
Reading package lists... Done
E: Failed to fetch http://archive.turnkeylinux.org/debian/dists/bullseye/main/binary-amd64/... File has unexpected size (34074 != 34030). Mirror sync in progress? [IP: 54.83.15.172 80]
Hashes of expected file:
- Filesize:34030 [weak]
- SHA512:480a9ba7afd53bbf8cb22aa216543e81d93eda09cf24ff8e7658b2bc9a461a6d62ab81a6d4ed71d4014480cbfc2d32eb7959aa43a83b8297b5083b2dc0a6861c
- SHA256:4e1a3afb495ce060073d40eb68158bc07a52e18ad3b929fd517101ca900ce31d
- SHA1:4814cb4c75559f758422a39540af04be0136d715 [weak]
- MD5Sum:cb2e4f8dee8183fd81aa91bd80b9f4f0 [weak]
Release file created at: Wed, 02 Nov 2022 06:42:43 +0000
Thanks so much for reporting this issue! I'll look into it and get back to you ASAP.
FWIW - I couldn't reproduce it initially, but I've managed to so will follow up and post back.
In the meantime, if you want to install software, so long as you don't need to install any TurnKey specific packages, you can (temporarily) disable the TurnKey repo like this:
That will create backup files (same name with '.bak' appended) of /etc/apt/sources.list.d/sources.list & /etc/apt/sources.list.d/security-sources.list and comment out the turnkey lines in the original files.
To revert, just copy the backups back over the top of the commented files: