Could this line be added just before apt-config is used to get the proxy
settings from the apt configuration?

  apt_conf_proxy=$(test -r /etc/environment && . /etc/environment ; echo
"${http_proxy}")

This should fall back on proxy settings from the environment, unless
overridden by the apt configuration.

-- 
/etc/cron.daily/apt incorrectly overrides apt.conf proxy settings with GNOME 
proxy settings, losing proxy exclusion list, and causes updates to fail
https://bugs.launchpad.net/bugs/277493
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

Reply via email to