Guest's picture

Hi,

I am playing around with upgrading a turnkey appliance based on debian-buster to bullseye.

I changed the /etc/apt/sources... files to reference the bullseye repos and imported the GPG-keys for the turnkey bullseye repositories. But an apt-upgrade fails because file from the repository does not have the expected size (and Hash):

E: Failed to fetch 
http://archive.turnkeylinux.org/debian/pool/bullseye/main/c/confconsole/confconsole_2.0.3_all.deb 
  File has unexpected size (258712 != 258648). Mirror sync in progress? [IP: 
54.83.15.172 80]
    Hashes of expected file:
     - 
SHA512:ccf89af287c653c08d569aff5d30863cc73879c591ce3e44cbe41a2dbca01398d24538aceb4f495ac711a8bf66a49ba3583ebcf52de7b3744924eda16a9e9c44
     - SHA256:d230c7cf52e7285f1485db0e346314917e3e6766fd6b2f465e2d7025776fc88a
     - SHA1:31e079351c41a1f5cefabcbecddc5d80b2881b16 [weak]
     - MD5Sum:8b077a3181c620604f6f6ee9d5b2726e [weak]
     - Filesize:258648 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
The file in question is fairly new in the repository (change date from Dec. 
19).

Is this a remote problem (repository) or is that something I can fix locally?

Thanks for any hint

Forum: 
Jeremy Davis's picture

I was just poking around and discovered the above deleted post?!

FWIW it was an issue with our repo. I repushed and cleared it up so all should be ok ATM, but I do plan to do some repo maintence soon. I will post a blog post about that and what you can do to clear all the apt cache on your local machine after I do that...

Add new comment