How to run apt-add-repository behind firewalls (#iitr)

Copied from OMGUbuntu

  1. Press Alt-F2 and type “gksu gedit /usr/lib/python2.6/dist-packages/softwareproperties/”
  2. Find line 88, change “” to “hkp://”
  3. Save and close

Note that this is the default setting in Ubuntu Natty Narwhal (11.04), and was only applicable for Maverick or older versions.

Published on April 01, 2011