Ubuntu 9.04 Synaptic Package Manager with ISA proxy

By tonyhughes Hughes, in , posted: 7-May-2009 11:37

After installing Jaunty on my work laptop, I was having trouble getting apt / Synaptic working, despite system-wide settings for proxy, and application specific settings.

After trawling teh intarweb, I came up with this...


Download and install the .deb, edit /etc/cntlm.conf then start cntlm with this command:

sudo /etc/init.d/cntlm start

Configure Synaptics proxy to localhost:3128 and all should be well :-)

(Newbie way to edit the conf file is to hit ALT+F2 and run the command sudo gedit)

Other related posts:
Maori Language Predictive Text Implementation on (some) XT Network Handsets
Vodafone successfully delays launch of Telecoms XT Network until interference resolved
Ubuntu 9.04 on an 8510p Compaq Laptop

Comment by freakalad, on 7-May-2009 16:04

To set the proxy for your apt, add the following line to "/etc/apt/apt.conf.d/00proxy" or "/etc/apt/apt.conf" :
Acquire::http { Proxy "http://IP.OF.YOUR.PROXY:PORT"; };

If you frequently set up posix boxes, install this to a system (physical or virtual) on your LAN (installs a daemon):
apt-get install apt-cacher.ng

This sets up a local repository that remains current.
Accessible via: http://IP.OF.THE.PROXY:3142

Easy as pie, and greatly reduces network load

Author's note by tonyhughes, on 7-May-2009 16:11

Great tip!

Add a comment

Please note: comments that are inappropriate or promotional in nature will be deleted. E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.

Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and shown in this blog post.

Your name:

Your e-mail:

Your webpage:

Subscribe To My RSS Feed