Well, apologies for following up on this bug so long after the fact.
I've had a look at the code and the behavior in Ubuntu 16.04 (and later)
and I believe it's correct.
- an apt proxy setting is used if configured.
- otherwise, a synaptic proxy setting is used if configured.
- otherwise, an http_proxy env variable is used if present.
- otherwise, no proxy is used.
We prefer the apt proxy over the generic proxy because it is the one
that has been specifically configured for package management. We also
use the apt proxy setting in Ubuntu for downloads from update-notifier,
despite the fact that these are non-package downloads. This is not
without its downsides, since it imposes requirements on the
configuration of the proxy to proxy things other than apt archives, but
it is nevertheless by design.
The only bug I found was in the comment itself, which did not accurately
document the current behavior. I have pushed a commit to the update-
manager repository which fixes the code comment.
** Changed in: update-manager (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/472234
Title:
update-manager-core DistUpgrade/utils.py does not honour http_proxy
env variable
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/472234/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs