3

I'm trying to install an application on an Ubuntu 10.04 via a ppa. This setup is necessary since a customer's error seems to be platform dependent.

Here's what

sudo add-apt-repository ppa:user/app

I get:

gpg: keyring `/tmp/tmphf6_87/secring.gpg' created
gpg: keyring `/tmp/tmphf6_87/pubring.gpg' created
gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
gpgkeys: HTTP fetch error 7: couldn't connect to host
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
recv failed

I tried ping keyserver.ubuntu.com and it worked. I googled the problem but I found nothing.

1 Answers1

1

It seems your network filters access to port 11371, which is used by the hkp protocol by default.

To workaround this issue, select another key server that is also available on port 80, by adding the --keyserver hkp://p80.pool.sks-keyservers.net:80 flag to add-apt-repository. This selects one of the key servers available on port 80 from the SKS key server network.

In case port 80 is also only available behind a proxy, you could

Jens Erat
  • 5,131
  • 7
  • 33
  • 37