[ubuntu-in] keyserver.ubuntu.com timeout ..

Ninad Pundalik ninadsp16289 at gmail.com
Fri Jan 15 08:42:44 GMT 2010


Hi Sanjay,

If I'm not wrong, you are trying to add a Launchpad PPA key.  If you
connect to the net through a proxy, then there are 2 things you can
try, one of which will definitely work:
1. Set the Proxy variable : Try running 'export
http_proxy=http://<ip-address>:<port>', and then the apt-key command.
If this doesn't work, edit the /etc/apt/apt.conf and add the line
'Acquire::http::proxy "http://<ip-address>:<port>/";'.  Save and exit.
 Now, all apt-* programs will obey this Proxy variable.  This works,
as I've used it many times on my college network, which is through a
proxy.
2. Manually download the key and add it to the keyring : Go to the web
interfaces of any of the 3 key servers mentioned in the previous
lists, and search for the key by the fingerprint/name of the key
owner.  You'll find the key.  Download it if you can find a link,
otherwise, just copy the key, including the 'START PGP BLOCK' and
'END' sections, paste it into a text file, and save it with a .pgp
extension.  IIRC, you can use the GUI to add the key to the keyring,
otherwise, you can always do an apt-key add, and use the file as the
source.

Hope this helps.

Ninad S. Pundalik
http://twitter.com/ni_nad
http://ninadpundalik.co.cc/blog
GPG Key Fingerprint: 2DF7 B856 C75E C9F9 0504 C0EF D456 1946 7C45 2C69



More information about the ubuntu-in mailing list