Re: [bitfolk] apt-cacher errors

Top Page
Author: Andy Smith
Date:  
To: users
Subject: Re: [bitfolk] apt-cacher errors

Reply to this message
gpg: Signature made Mon Jun 17 00:04:36 2013 UTC
gpg: using DSA key 2099B64CBF15490B
gpg: Good signature from "Andy Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andrew James Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andy Smith (UKUUG) <andy.smith@ukuug.org>" [unknown]
gpg: aka "Andy Smith (BitFolk Ltd.) <andy@bitfolk.com>" [unknown]
gpg: aka "Andy Smith (Linux User Groups UK) <andy@lug.org.uk>" [unknown]
gpg: aka "Andy Smith (Cernio Technology Cooperative) <andy.smith@cernio.com>" [unknown]
On Sun, Jun 16, 2013 at 11:46:19PM +0000, Andy Smith wrote:
> Anyone got any ideas?


00:56:14 < blop> grifferz: hmm it seems ok now after apt-get clean and removing /var/lib/apt/lists/*secur*wheez*
00:58:15 <@grifferz> blop, agreed, sudo find /var/lib/apt/lists -type f -delete && sudo apt-get update

Probably works without apt-cacher then because the files in
/var/lib/apt/lists/ are by URL and apt-cacher has a different URL.

So, going back to a host that doesn't work:

$ sudo apt-get update
.
.
W: Failed to fetch http://apt-cacher.lon.bitfolk.com/debian/security.debian.org/dists/squeeze/updates/main/binary-i386/Packages.bz2 Hash Sum mismatch

Presumably if I delete some or all of these:

$ ls /var/lib/apt/lists/*apt-cacher*security*squeeze*updates*
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release.gpg

then it's going to start working. Anyone got any ideas how to prove
which of these files is broken, for when this happens next time?

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting

> I'd be interested to hear any (even two word) reviews of their sofas…

Provides seating.         — Andy Davidson