[Bug 716438] Re: add-apt-repository should have option to use port 80

Jeremy Yoder 716438 at bugs.launchpad.net
Mon Jun 27 21:31:19 UTC 2011


Could this be backported to Lucid, or perhaps a simple version of it?

This should be enough, applied to python-software-properties version 0.75.10.1:
--- /usr/share/pyshared/softwareproperties/ppa.py.orig  2010-04-14 15:05:59.000000000 -0400
+++ /usr/share/pyshared/softwareproperties/ppa.py       2011-06-27 17:14:13.027023115 -0400
@@ -81,7 +81,7 @@
             # FIXME: this needs to go - elmo says the keyserver will not handle
             #        the load
             res = subprocess.call(
-                ["apt-key", "adv", "--keyserver", "keyserver.ubuntu.com",
+                ["apt-key", "adv", "--keyserver", "hkp://keyserver.ubuntu.com:80",
                  "--recv", signing_key_fingerprint[0]])
             return (res == 0)
         except URLError, e:

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/716438

Title:
  add-apt-repository should have option to use port 80

Status in “software-properties” package in Ubuntu:
  Fix Released

Bug description:
  keyserver.ubuntu.com now listens on port 80 as well as port 11371 -
  see https://bugs.launchpad.net/launchpad/+bug/524416

  However by default, the add-apt-repository command still uses port
  11371, which does not work behind a firewall, and it does not provide
  an option to use port 80 instead.

  This bug is to request that add-apt-repository get an option to use
  port 80 (e.g. command line switch), or to use port 80 by default.

  There is a similar suggestion mentioned here, but it has not actually
  been filed as a bug: https://answers.launchpad.net/ubuntu-
  website/+question/79193

  FYI for the meantime I found instructions for modifying add-apt-
  repository to use port 80 here: http://www.omgubuntu.co.uk/2011/01
  /how-to-add-repositories-to-ubuntu-from-behind-a-firewall/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/716438/+subscriptions




More information about the foundations-bugs mailing list