On Thu, Jun 30, 2005 at 09:37:26PM +0700, Prabu Subroto wrote: > > I work at a workstation and my workstation is associated in a LAN. My > internet connection is only through http proxy server. So if I want to > go to internet, I have to set my internet browser for the ip number and > the port number of the proxy server such as http://10.152.16.10:8080. > > Now, I have to get and install some softwares from the internet for my > debian linux. I want to use apt-get (I am tired of dependancy problem) > but connected to the internet only through proxy server. How can I do > that? > > I now /etc/apt/sources.list. but there, I can only define the server of > destination such as ftp://ftp.de.debian.org but I can not define the > proxy server of our LAN and also its port number.
I think you need to set (in /etc/apt/apt.conf) Acquire::http::Proxy http://user:[EMAIL PROTECTED]:8080 (leave out the user:pass@ part, if you don't need to login) The manpage apt.conf(5) also states it would honour the setting of the general environment variable "http_proxy" -- which is also used by other tools, such as wget. Similar options exist for FTP, in case you should need those, too. Almut -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]