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

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



It does not work. Please tell me furthermore.

Here is the result:
mydebby:/etc/apt# ls
apt.conf  apt.conf.d  apt-file.conf  sources.list  sources.list~
mydebby:/etc/apt# cat apt.conf
Acquire::http::Proxy http://10.152.16.10:8080
mydebby:/etc/apt# apt-get update
E: Syntax error /etc/apt/apt.conf:2: Extra junk at end of file
mydebby:/etc/apt#   


----- Original Nachricht ----
Von:     Kis Bertalan <kbertalan@inf.unideb.hu>
An:      debian-user@lists.debian.org
Datum:   29.06.2005 13:13
Betreff: Re: How to use apt-get through proxy server

> Please insert that line in the correct file!!!
> 
> /etc/apt/apt.conf
> 
> bye
> 
> prabusubroto@arcor.de wrote:
> > 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
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 

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: