There is a simpler workaround to preserve the http_proxy environment variable:
sudo -E apt-get install ... However this preserves all other (potentially dangerous) environment variables. The point is that that environment variables which are safe and commonly needed in a sudo environment should be whitelisted by default. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/556293 Title: apt/aptitude need to take global proxy settings into account To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/556293/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
