Comment 3 for bug 443404

Revision history for this message
MattPie (piechota) wrote : Re: add-apt-repository insists on downloading GPG key even if keyserver is down. If keyserver is down, add-apt-repository can't proceed.

Work-around for at least the proxy issue:
After you run add-apt-repository and it hangs, it's already set up the repo. I did let it sit for awhile and it will eventually time out, but it's several minutes at least.

So, if you cancel out and run 'sudo apt-get update'

Apt-get will complain that it could not find a GPG key for the PPA repo, but it will give you the key finger print.

Then, you can use the gpg command above to later get the key and apt will work properly. I had to add '--no-default-keyring' since gpg wrote the key into root's keyring (in /root/.gnupg). Or you could get the key some other way.

I am curious though, how did you get the verbose output from add-apt-repository?