Click to See Complete Forum and Search --> : Apt-Get Proxy Configuration


Nailz
03-26-2001, 04:57 PM
What's the syntax for adding my proxy settings into apt.conf on my Debian Potato setup??
I setup my laptop at home w/o proxy settings and now that I brought it into work. I reconfigured my network connection (ip address through ifconfig, gateway through route add and DNS server through resolv.conf)...just need to correctly re-configure apt.

Tyr-7BE
03-26-2001, 06:14 PM
If your network is up and running, you shouldn't have to. All my apt.conf has is to preconfigure packages.

rod
03-26-2001, 06:18 PM
Never had to deal with a proxy. You may want to check out apt-proxy. It is availible in the testing branch.

Take a look. (http://sourceforge.net/projects/apt-proxy/)

Regards,
Rod

Nailz
03-27-2001, 04:43 PM
Figured it out...

In the /etc/apt/apt.conf file I added the line:

Acquire::http::Proxy = "http://my.web.proxy:8000/"

**obviously my.web.proxy was changed to protect the innocent.

teeitup
03-27-2001, 10:35 PM
FYI

The proxy can be setup in the .profile also.
I keep it in root only. Since you have to be root to use apt-get.