- Set the variable
https_proxy
to your proxy -
Edit
/etc/sudoers
or the correct file in/etc/sudoers.d/
so it contains:Defaults env_keep = https_proxy
- sudo nano /etc/apt/apt.conf.d/30proxy
https_proxy
to your proxyEdit /etc/sudoers
or the correct file in /etc/sudoers.d/
so it contains:
Defaults env_keep = https_proxy