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

Aw: Re: How to use apt-get through proxy server



No, it does not work.
Here is the result: 
mydebby:/etc/apt# apt-get update
E: Type 'Acquire::http::Proxy' is not known on line 1 in source list /etc/apt/sources.list
mydebby:/etc/apt# cat sources.list
Acquire::http::Proxy "http://a:b@10.152.16.10:8080";
deb ftp://ftp.de.debian.org/debian stable main contrib non-free
deb http://http.us.debian.org/debian stable main contrib non-free
mydebby:/etc/apt# 

So how the command should be? if the host of the proxy server is 10.152.16.10, the portnumber : 8080 and no username and password needed as authentication for the proxy server.

Please tell me
----- Original Nachricht ----
Von:     Kis Bertalan <kbertalan@inf.unideb.hu>
An:      prabusubroto@arcor.de
Datum:   29.06.2005 12:52
Betreff: Re: How to use apt-get through proxy server

> prabusubroto@arcor.de wrote:
> > Dear my friends...
> > 
> > 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.
> > 
> > Please tell me.
> > 
> > Thank you very much. 
> > 
> > Machen Sie aus 14 Cent spielend bis zu 100 Euro!
> > Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
> > http://www.arcor.de/rd/emf-gaming-1
> 
> 
> Try to add the following line to your /etc/apt/apt.conf file:
> 
> Acquire::http::Proxy "http://[[user][:pass]@]host[:port]";
> 
> It should work.
> 
> bye
> 
> 

Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1



Reply to: