« Remote X with ubuntu 5.10 | Main | Got free shipped ubuntu CDs »

December 5, 2005

Set http proxy for ubuntu 5.10 GUI Update Manager

Set proxies in Gnome "Network Proxy Setting", or in /etc/bash.bashrc, or /etc/wget.rc won't apply to Update Manager.
You had to put a line like this in /etc/apt/apt.conf

Acquire::http::Proxy "http://proxy.mydomain.com:8080";

apt.conf usually doesn't exist yet, so you will have to create in, with just that line in it.

Technorati Tags:

Posted by ginn at December 5, 2005 1:54 PM

Trackback Pings

TrackBack URL for this entry:
http://www.chenqi.org/mt/mt-tb.cgi/63

Comments

In "Breezy Badger" you must edit apt.conf as follows:

Acquire
{
http::proxy "http://proxy.mydomain.com:8080"
}

Posted by: Brian at March 2, 2006 12:03 AM

Hmm, I tried this and it didn't work at all.
All I get is:
E: Syntax error /etc/apt/apt.conf:2: Extra junk at end of file.
And there is only one line of text. Does Gedit append junk to textfiles? If so what should one use to write the textfile?

Posted by: Johan at July 2, 2007 7:51 PM

Ah, found the problem.
You need a closing ;

Posted by: Johan at July 2, 2007 8:13 PM

Post a comment




Remember Me?