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

Re: How to use apt-get through proxy server

I think we missed to put a semicolon (;) at the end of the line. That's all! The correct line shoul look like this:

Acquire::http::Proxy "http://[[user][:pass]@]host[:port]";;

This must really work!

prabusubroto@arcor.de wrote:
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
mydebby:/etc/apt# apt-get update
E: Syntax error /etc/apt/apt.conf:2: Extra junk at end of file

Reply to: