Add the following to an /etx/apt.conf.d
file:
Acquire::http:Proxy "http://...";
Acquire::https:Proxy "http://...";
Don’t forget the semicolons. Some VPNs will have the same URL for both http and https.
Related:
Tags:
#apt #linux #tips #proxy #vpn