Package: apt-cacher-ng Version: 2-2 Without changing anything at the configuration for the last half year or so I detected that debian-security downloading does not work anymore with apt-cacher-ng.
my configuration is: internet -> squid -> apt-cacher-ng -> apt-get (yes apt-cacher-ng is downloading via squid, not internet direct) for testing I use the machine which runs the squid and the apt-cacher-ng and there on this machine i do local apt-get to reduce problem complexity, but with other networked machines the results are the same. This is how i test: systemctl stop apt-cacher-ng.service cd /var/lib/apt/lists rm -rf * cd /var/cache/apt-cacher-ng rm -rf * cat /etc/apt/apt.conf.d/99yyyProxy Acquire::http::Proxy "http://localhost:3142"; # this is apt-cacher-ng systemctl start apt-cacher-ng.service LANG=C apt-get update --> lots of output. only the relevant part is shown: Err:8 http://security.debian.org/debian-security stretch/updates/main Translation-en 500 Invalid header E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/i18n/Translation-en 500 Invalid header E: Some index files failed to download. They have been ignored, or old ones used instead. OK so now i do the exact same thing again but replace the port number 3142 by 3128 which is my squid port. and now it works without any problems. I do not know how to debug. what i know, is that the above URL http://security.debian.org/debian-security/dists/stretch/updates/main/i18n/Translation-en does not exist. if you download instead: http://security.debian.org/debian-security/dists/stretch/updates/main/i18n/Translation-en.bz2 then it works. maybe the problem is somewhat related to that. as a quick fix I switched my complete server farms and client pools back to direct squid and deactivated apt-cacher-ng. But of course that is not really a fix :-) cya Erik -- Erik Thiele