bc-bd.org

Not a blog

Sudo and {http,ftp}_proxy

The current debian sid sudo package is very restricitve when it comes to environment variables, even http_proxy and ftp_proxy are unset. Thus

$ sudo apt-get update

will fail. You can exclude these specific variables from beeing unset by running

$ visudo

and add this option

Defaults env_keep=”http_proxy ftp_proxy”