Sudo doesn't preserve "http_proxy" environment variable anymore by default in Ubuntu 10.04. :-(
To see the (hardcoded) list of variable preserved by sudo, use the command: sudo -V Solution: add to "/etc/sudoers" (via sudoers command) the following line: Defaults env_keep="http_proxy" Now, $http_proxy is available to all commands run via sudo, check it using: sudo env | grep proxy Nonetheless, I think http_proxy should be in that hardcoded list. -- sudo does not keep http_proxy environment variable https://bugs.launchpad.net/bugs/556293 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
