Comment 7 for bug 443404

Revision history for this message
Heiko Ettelbrück (hbrucky) 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.

Try exporting the https_proxy environment variable in addition to http_proxy (without "s"). I found that suggestion in https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/516032 and it works fine for me:

export http_proxy=...
export https_proxy=...
add-apt-repository ppa:...