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.
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.
Proxy does not work using sudo in Debian
原文:https://www.cnblogs.com/bittorrent/p/8117210.html