[Bug 1777428] [NEW] UpdateManager does not work behind proxy in many cases

Erik Devriendt Erik.Devriendt at siemens.com
Mon Jun 18 11:58:26 UTC 2018


Public bug reported:

update-manager does not work behind a proxy in many cases.
reason:
update-manager calls method init_proxy() in UpdateManager/Core/utils.py.
This method does not implement what is described in its documentation string:
1. the implementation does not check the http_proxy environment variable
2. it tries to read the file /root/.synaptic/synaptic.conf, but due to the access rights drwx------ on the '/root' directory, it can't read the file, unless the user is exactly 'root', but that is rightly completely discouraged by Ubuntu.

The only option that works is the addition of Acquire::http::Proxy to
some config file in /etc/apt/apt.conf.d

It means that update-manager does not work when the user has added proxy
settings in its Preferences.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python3-update-manager 1:18.04.11.2
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: MATE
Date: Mon Jun 18 13:37:42 2018
GsettingsChanges:
 b'com.ubuntu.update-manager' b'window-height' b'671'
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'window-width' b'898'
 b'com.ubuntu.update-manager' b'launch-time' b'int64 1529319882'
InstallationDate: Installed on 2018-05-15 (34 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug bionic

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

Title:
  UpdateManager does not work behind proxy in many cases

Status in update-manager package in Ubuntu:
  New

Bug description:
  update-manager does not work behind a proxy in many cases.
  reason:
  update-manager calls method init_proxy() in UpdateManager/Core/utils.py.
  This method does not implement what is described in its documentation string:
  1. the implementation does not check the http_proxy environment variable
  2. it tries to read the file /root/.synaptic/synaptic.conf, but due to the access rights drwx------ on the '/root' directory, it can't read the file, unless the user is exactly 'root', but that is rightly completely discouraged by Ubuntu.

  The only option that works is the addition of Acquire::http::Proxy to
  some config file in /etc/apt/apt.conf.d

  It means that update-manager does not work when the user has added
  proxy settings in its Preferences.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: python3-update-manager 1:18.04.11.2
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Mon Jun 18 13:37:42 2018
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'window-height' b'671'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'window-width' b'898'
   b'com.ubuntu.update-manager' b'launch-time' b'int64 1529319882'
  InstallationDate: Installed on 2018-05-15 (34 days ago)
  InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list