[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can not update/upgrade Debian 10 when using apt-cacher-ng



On Tue, 29 Oct 2019 11:45:02 +0100
john doe <johndoe65534@mail.com> wrote:

> /etc/apt/sources.list:
> 
> http://HOSTNAME-APT-CACHER-NG>:3142/debian-security buster/updates
                               ^

That greater than character looks problematic; is it correct?

Also, I find that setup puts a file, apt.conf, in your /etc/apt
directory, with the apt-cacher redirection in it:

Acquire::http::Proxy "http://aptcacherdeb.localdomain:3142";;

If that file exists, you don't need the redirection in sources.list.
All you need is the provided sources.list, e.g.:

deb http://security.debian.org/debian-security buster/updates main contrib non-free
# deb-src http://security.debian.org/debian-security buster/updates main contrib non-free



-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: