Web lists-archives.com

Re: Why does my system download directly from security-cdn.debian.org?

On Thu, Aug 23, 2018 at 01:16:26PM -0400, Roberto C. Sánchez wrote:
deb http://apt-cache.localdomain:3142/security/ stretch/updates main contrib non-free
deb http://apt-cache.localdomain:3142/debian/ stretch main non-free contrib

apt-cacher would typically be used by putting something like Acquire::http::Proxy "http://apt-cache.localdomain:3142/"; in /etc/apt.conf or a file in apt.conf.d and then putting the usual urls in sources.list (http://http.us.debian.org/debian/ or whatever; see /usr/share/doc/apt-cacher-ng/examples/000apt-cacher-ng-proxy). apt-cacher then transparently caches the requests. What's probably happening is that redirects are being sent which the cacher expects to intercept as the proxy, but you're not using it as a proxy.

Mike Stone