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

Re: apt-get behind a proxy



Michael Sry wrote:
> Hello,
> I have a problem with apt-get. To connect to the internet, there is 
> an automatic proxy configuration URL. Apt-get tries to get to the 
> internet without connecting to the proxy first. How do I tell 
> apt-get to go to that proxy before connecting to the interent.

The way I handle it is by setting environment variables:
http_proxy=http://webproxy.x.y:8080
no_proxy=localhost

The advantage of using the environment instead of the apt.conf is this
also lets wget and lynx work.
-- 
-------------------------------------------------------------------------------
James Richardson

Attachment: pgp3E7r6vNf6X.pgp
Description: PGP signature


Reply to: