We get the following error running 'apt-get update' with wheezy/sid
apt-cacher-ng
W: Failed to
fetchhttp://wheezy.apt:3142/debian/dists/wheezy/main/source/SourcesIndex
MD5Sum mismatch
W: Failed to
fetchhttp://wheezy.apt:3142/debian/dists/wheezy/contrib/source/SourcesIndex
MD5Sum mismatch
W: Failed to
fetchhttp://wheezy.apt:3142/debian/dists/wheezy/main/i18n/Translation-enIndex
MD5Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones
used instead.
To fix, I have been running:
/etc/init.d/apt-cacher-ng stop; rm -rf /var/cache/apt-cacher-ng/*;
/etc/init.d/apt-cacher-ng start
We use local DNS to point to apt-cacher-ng.
# host wheezy.apt
wheezy.apt is an alias for apt.
apt has address 192.168.7.200
# cat /etc/apt/sources.list
deb http://wheezy.apt:3142/debian/ wheezy main contrib non-free
deb-src http://wheezy.apt:3142/debian/ wheezy main contrib non-free
deb http://security.apt:3142/security.debian.org/ wheezy/updates main
contrib non-free
bugreport output:
-- Package-specific info:
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-cacher-ng depends on:
ii adduser 3.113+nmu2
ii debconf [debconf-2.0] 1.5.43
ii dpkg 1.16.3
ii libbz2-1.0 1.0.6-1
ii libc6 2.13-32
ii libgcc1 1:4.7.0-8
ii liblzma5 5.1.1alpha+20110809-3
ii libstdc++6 4.7.0-8
ii libwrap0 7.6.q-23
ii zlib1g 1:1.2.7.dfsg-11
Versions of packages apt-cacher-ng recommends:
ii ed 1.6-1
ii perl 5.14.2-11
Versions of packages apt-cacher-ng suggests:
pn doc-base <none>
ii libfuse2 2.8.7-2
-- Configuration Files:
/etc/apt-cacher-ng/backends_debian changed:
http://ukdebian.mirror.anlx.net/debian/
-- debconf information:
apt-cacher-ng/gentargetmode: No automated setup
# sed '/^\(#\|$\)/d' /etc/apt-cacher-ng/acng.conf
CacheDir: /var/cache/apt-cacher-ng
LogDir: /var/log/apt-cacher-ng
Port:3142
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian #
Debian Archives
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu #
Ubuntu Archives
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ;
file:backends_debvol # Debian Volatile Archives
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin #
incomplete, please create this file or specify preferred mirrors here
Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete,
please create this file or specify preferred mirrors here
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx #
Arch Linux
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-epel: file:epel_mirrors # Fedora EPEL
Remap-slrep: file:sl_mirrors # Scientific Linux
ReportPage: acng-report.html
ExTreshold: 4
# cat /var/log/apt-cacher-ng/apt-cacher.err
Tue Jun 19 06:30:01 2012|known data hit, don't write to...
Tue Jun 19 06:30:01
2012|/var/cache/apt-cacher-ng/debrep/dists/wheezy/InRelease
Tue Jun 19 06:30:01 2012|known data hit, don't write to...
Tue Jun 19 06:30:01
2012|/var/cache/apt-cacher-ng/security.debian.org/dists/wheezy/updates/main/source/Sources.bz2
Tue Jun 19 06:30:03 2012|known data hit, don't write to...
Tue Jun 19 06:30:03
2012|/var/cache/apt-cacher-ng/security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages.bz2
Tue Jun 19 06:30:03 2012|known data hit, don't write to...
Tue Jun 19 06:30:03
2012|/var/cache/apt-cacher-ng/security.debian.org/dists/wheezy/updates/contrib/binary-amd64/Packages.bz2
Tue Jun 19 06:30:03 2012|known data hit, don't write to...
Tue Jun 19 06:30:03
2012|/var/cache/apt-cacher-ng/security.debian.org/dists/wheezy/updates/non-free/binary-amd64/Packages.bz2
Tue Jun 19 06:30:04 2012|known data hit, don't write to...
Tue Jun 19 06:30:04
2012|/var/cache/apt-cacher-ng/debrep/dists/wheezy/main/binary-amd64/Packages.diff/Index
Tue Jun 19 06:30:04 2012|known data hit, don't write to...
Tue Jun 19 06:30:04
2012|/var/cache/apt-cacher-ng/debrep/dists/wheezy/contrib/binary-amd64/Packages.diff/Index
Tue Jun 19 06:30:04 2012|known data hit, don't write to...
Tue Jun 19 06:30:04
2012|/var/cache/apt-cacher-ng/debrep/dists/wheezy/non-free/binary-amd64/Packages.diff/Index
Tue Jun 19 06:30:04 2012|known data hit, don't write to...
Tue Jun 19 06:30:04
2012|/var/cache/apt-cacher-ng/debrep/dists/wheezy/non-free/i18n/Translation-en.diff/Index
# cat /var/log/apt-cacher-ng/apt-cacher.log
1340083804|O|234|192.168.7.201|security.debian.org/dists/wheezy/updates/main/i18n/Translation-en.bz2
1340083804|O|8187|192.168.7.201|debrep/dists/wheezy/main/source/Sources.diff/Index
1340083804|O|238|192.168.7.201|security.debian.org/dists/wheezy/updates/non-free/i18n/Translation-en.bz2
1340083804|O|8133|192.168.7.201|debrep/dists/wheezy/contrib/source/Sources.diff/Index
1340083804|O|8134|192.168.7.201|debrep/dists/wheezy/non-free/source/Sources.diff/Index
1340083804|I|375|192.168.7.201|debrep/dists/wheezy/main/binary-amd64/Packages.diff/Index
1340083804|O|8194|192.168.7.201|debrep/dists/wheezy/main/binary-amd64/Packages.diff/Index
1340083804|I|374|192.168.7.201|debrep/dists/wheezy/contrib/binary-amd64/Packages.diff/Index
1340083804|O|8140|192.168.7.201|debrep/dists/wheezy/contrib/binary-amd64/Packages.diff/Index
1340083804|I|374|192.168.7.201|debrep/dists/wheezy/non-free/binary-amd64/Packages.diff/Index
1340083804|O|8141|192.168.7.201|debrep/dists/wheezy/non-free/binary-amd64/Packages.diff/Index
1340083804|O|3722|192.168.7.201|debrep/dists/wheezy/contrib/i18n/Translation-en.diff/Index
1340083804|O|8192|192.168.7.201|debrep/dists/wheezy/main/i18n/Translation-en.diff/Index
1340083804|O|236|192.168.7.201|security.debian.org/dists/wheezy/updates/contrib/i18n/Translation-en.xz
Regards,
Steve
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org