Another workaround:
Add --------------- Defaults env_keep += "http_proxy SOMEOTHERVARIABLES ANOTHERVARIABLE ETC" --------------- to your sudoers-file with "visudo".
See: https://help.ubuntu.com/community/EnvironmentVariables#sudo_caveat
Another workaround:
Add
---------------
Defaults env_keep += "http_proxy SOMEOTHERVARIABLES ANOTHERVARIABLE ETC"
---------------
to your sudoers-file with "visudo".
See: https:/ /help.ubuntu. com/community/ EnvironmentVari ables#sudo_ caveat