Comment 30 for bug 516032

Revision history for this message
Ian Wells (ijw-ubuntu) wrote :

My issue with this is that I think apt-add-repository should respect the http proxy settings in /etc/apt/apt.conf (or should have its own proxy settings if that's preferable), rather than explicitly requiring the proxy to be supplied in the environment.

Also, for those that have issues with the way that 'sudo' deliberately doesn't pass environment variables:

sudo env http_proxy=http://my-proxy:8080/ https_proxy=http://my-proxy:8080/ apt-add-repository ...