Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng
On Wed, 31 May 2023 11:36:19 +0200
Dennis Heddicke <dheddicke@hotmail.com> wrote:
> Acquire::http {Proxy "http://localhost:3142";};
> Acquire::https {Proxy "http://";};
I'm not comfortable with your second line there. First, you have for
https a non-secure http. I suspect they should match. Second, if you
are going to use hhtps, give the complete URL. Like so:
Acquire::https {Proxy "https://localhost:3142";};
But I don't think that's part of your problem.
For what it's worth, my configuration for ACN looks like:
root@chaffee:~# cat /etc/apt/apt.conf.d/02proxy
Acquire::http::Proxy "http://aptcacherdeb.localdomain:3142";
Acquire::https::Proxy "https://aptcacherdeb.localdomain:3142";
root@chaffee:~#
>
> there are any errors too, although i don't know what caused them.
> But thank you for your help.
I'm confused: are there errors or are there no errors? If there are
errors, please show a sample.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: