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

Re: Configuring APT to use localhost port as a proxy



Hello,

Niall Donegan wrote:
> Create a file in /etc/apt called apt.conf and put the following line in:
> Acquire::http::Proxy "http://localhost:3128";

I tried doing so before, but I must have forgotten to restart aptitude
that time. And after restart it work well. Thanks a lot!

Ryan Nowakowski wrote:
> Here's my sources.list:
>
> # Sarge (proxied)
> deb http://localhost:9999/debian/ sarge main non-free contrib
> deb-src http://localhost:9999/debian/ sarge main non-free contrib
>
> # Security (proxied)
> deb http://localhost:9999/security sarge/updates main non-free contrib
>
> Here's my .ssh/config for this host:
>
> Host host1
> 	RemoteForward 9999 aptproxy:9999

Thanks for a nice idea!

--
Regards,
Andrew Pogrebennyk



Reply to: