Comment 31 for bug 516032

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Confirming; this would work and is fixed at least in Quantal:

- Sudo keeps the http_proxy, https_proxy, all_proxy, etc. environment variables.
- https_proxy is required by add-apt-repository to access Launchpad.
- http_proxy is required by add-apt-repository/apt-key/gpg to retrieve the PPA signing keys.

You'll have to make sure to set both http_proxy and https_proxy to be able to use add-apt-repository.