[Bug 1899026] Re: Add proxy auto detect support

Julian Andres Klode 1899026 at bugs.launchpad.net
Tue Oct 13 10:47:54 UTC 2020


There are quite a few places in Ubuntu that have badly adapted apt proxy
settings. I think aptdaemon, PackageKit are affected as well. It's not
possible to correctly reimplement apt proxy settings by reading
configuration, files need to be fetched by apt's acquire library.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1899026

Title:
  Add proxy auto detect support

Status in update-manager package in Ubuntu:
  New

Bug description:
  We have migrated our Ubuntu desktops to use the APT config option
  'Acquire::http::Proxy-Auto-Detect' instead of the
  'Acquire::http::Proxy' and this breaks update-manager.

  Looking at the 'init_proxy' function it seems that only the
  'Acquire::http::Proxy' APT config option is supported for the use of
  proxy. Can support for the 'Acquire::http::Proxy-Auto-Detect' (as well
  as 'Acquire::https::Proxy-Auto-Detect' for https) APT config option be
  added to update-manager?

  
  A workaround that I managed to use is to export the http_proxy and https_proxy environment variables and then run `do-release-upgrade`. Though this has a couple of drawbacks, for instance that the GUI version of update-manager is not possible to use. I'm just mentioning this if someone else is stuck while using 'Proxy-Auto-Detect' for APT.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1899026/+subscriptions



More information about the foundations-bugs mailing list