Proxy does not work using sudo in Debian

To resolve this issue you can add
Defaults env_keep += "http_proxy https_proxy"
to your /etc/sudoers file
in order to keep those variables when switching to the secure path.

原文地址:https://www.cnblogs.com/bittorrent/p/8117210.html