[Bug 1899026] [NEW] Add proxy auto detect support

Markus Lindberg 1899026 at bugs.launchpad.net
Thu Oct 8 12:24:46 UTC 2020


Public bug reported:

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.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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