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.
Confirming; this would work and is fixed at least in Quantal:
- Sudo keeps the http_proxy, https_proxy, all_proxy, etc. environment variables. repository/ apt-key/ gpg to retrieve the PPA signing keys.
- https_proxy is required by add-apt-repository to access Launchpad.
- http_proxy is required by add-apt-
You'll have to make sure to set both http_proxy and https_proxy to be able to use add-apt-repository.