You have been subscribed to a public bug:

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
Check your Internet connection or proxy settings

After further investigation, I found the the issue is caused in package

python3-update-manager: /usr/lib/python3/dist-

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

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

release-upgrade-motd can't update message via apt proxy
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

ubuntu-bugs mailing list

Reply via email to