On Mon, Jun 17, 2013 at 12:04:36AM +0000, Andy Smith wrote:
W: Failed to fetch
http://apt-cacher.lon.bitfolk.com/debian/security.debian.org/dists/squeeze/…
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?
On my client,
$ sha1sum
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release*
b17b00701562018efbcd4c2d37c2b5cc017c9464
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release
029cf33e45b7b9262448c6066616eeb8ba2b454e
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release.gpg
$ sudo rm -v
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release*
removed
`/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release'
removed
`/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release.gpg'
$ sudo apt-get update
Hit
http://apt-cacher.lon.bitfolk.com squeeze Release.gpg
Ign
http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian/ squeeze/main
Translation-en
Ign
http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian/ squeeze/main
Translation-en_GB
Hit
http://apt-cacher.lon.bitfolk.com squeeze-updates Release.gpg
Ign
http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian/
squeeze-updates/main Translation-en
Ign
http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian/
squeeze-updates/main Translation-en_GB
Get:1
http://apt-cacher.lon.bitfolk.com squeeze/updates Release.gpg [836 B]
Ign
http://apt-cacher.lon.bitfolk.com/debian/security.debian.org/ squeeze/updates/main
Translation-en
Ign
http://apt-cacher.lon.bitfolk.com/debian/security.debian.org/ squeeze/updates/main
Translation-en_GB
Hit
http://apt-cacher.lon.bitfolk.com squeeze-backports Release.gpg
Hit
http://apt-cacher.lon.bitfolk.com/debian/backports.debian.org/debian-backpo…
squeeze-backports/main Translation-en
Ign
http://apt-cacher.lon.bitfolk.com/debian/backports.debian.org/debian-backpo…
squeeze-backports/main Translation-en_GB
Hit
http://apt-cacher.lon.bitfolk.com squeeze Release
Hit
http://apt-cacher.lon.bitfolk.com squeeze-updates Release
Get:2
http://apt-cacher.lon.bitfolk.com squeeze/updates Release [86.9 kB]
Hit
http://apt-cacher.lon.bitfolk.com squeeze-backports Release
Hit
http://apt-cacher.lon.bitfolk.com squeeze/main Sources
Hit
http://apt-cacher.lon.bitfolk.com squeeze/main i386 Packages
Hit
http://apt-cacher.lon.bitfolk.com squeeze-updates/main i386 Packages/DiffIndex
Hit
http://apt-cacher.lon.bitfolk.com squeeze-updates/main i386 Packages
Get:3
http://apt-cacher.lon.bitfolk.com squeeze/updates/main i386 Packages [333 kB]
Hit
http://apt-cacher.lon.bitfolk.com squeeze-backports/main i386 Packages
Fetched 87.8 kB in 0s (166 kB/s)
Reading package lists... Done
$ sha1sum
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release*
1ac68a320a585d0166a2e807bdf82fcc6c0e123c
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release
13c1c170f7b826a46253fbeb784b854de8046369
/var/lib/apt/lists/apt-cacher.lon.bitfolk.com_debian_security.debian.org_dists_squeeze_updates_Release.gpg
I think I would suspect a mirroring problem at Debian rather than a
problem with the apt-cacher.
Cheers,
Andy
--
"I'm /extremely/ miffed about today's events and in my quest to try to make
you understand the level of my unhappiness, I'm likely to use an awful lot
of what we would call /violent sexual imagery/ and I just wanted to check
that neither of you would be terribly offended by that." — Malcolm Tucker