[Bug 1771914] Re: release-upgrade-motd can't update message via apt proxy
Launchpad Bug Tracker
1771914 at bugs.launchpad.net
Wed Jun 27 13:43:28 UTC 2018
This bug was fixed in the package update-manager - 1:18.10.3
---------------
update-manager (1:18.10.3) cosmic; urgency=medium
* Add support for HTTPS proxies; this breaks UpdateManager.Core.utils.init_proxy()
API - the return value is now a dict, rather than a string (LP: #1771914).
-- Julian Andres Klode <juliank at ubuntu.com> Wed, 27 Jun 2018 14:16:45
+0200
** Changed in: update-manager (Ubuntu)
Status: In Progress => Fix Released
--
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/1771914
Title:
release-upgrade-motd can't update message via apt proxy
Status in update-manager package in Ubuntu:
Fix Released
Bug description:
I have configured apt proxy in apt.conf.d and apt update and apt
install can work correctly. However, when I logged in system everyday,
in the login message, it says:
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts.
Check your Internet connection or proxy settings
After further investigation, I found the the issue is caused in
package python3-update-manager:
python3-update-manager: /usr/lib/python3/dist-
packages/UpdateManager/Core/utils.py
In the init_proxy function of the python script, it only set a http
proxy by below code:
proxy_support = ProxyHandler({"http": proxy})
after changing the line to add https proxy, it can work:
proxy_support = ProxyHandler({"http": proxy, "https":proxy})
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1771914/+subscriptions
More information about the foundations-bugs
mailing list