I'm currently using on our company intranet:
Defaults env_reset
Defaults env_keep -= "http_proxy https_proxy no_proxy ftp_proxy"
and use /etc/apt/apt.conf.d/19apt-cacher-ng like this
$ sudo cat /etc/apt/apt.conf.d/19apt-cacher-ng
Acquire::http { Proxy "http://10.176.8.59:3142"; };
to make sure that the user using an http proxy or not is not able to influence
the desired system behaviour
(using an APT-Cacher-NG on the campus LAN).
The bug is about the mixed up configuration ...
--
sudo fails to preserve no_proxy env var
https://bugs.launchpad.net/bugs/432631
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs