Public bug reported:

Description:    Ubuntu 16.04.6 LTS
Release:        16.04
update-manager:
  Installed: 1:16.04.16
  Candidate: 1:16.04.16


I noticed lately that changelogs were not downloading for any Ubuntu packages 
in update-manager.
Running from terminal I saw this error:

  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py", line 
245, in get_changelog_or_news
    "https locations with username/password are not supported to fetch 
changelogs"

There are no username/passwords in the changelog pool uri.
I believe I tracked the error to lines 242-243 in MyCache.py:

    res = urlsplit(uri) 
    if res.scheme == "https" and res.username != "":

Documentation for 'urlsplit()' indicates res.username should return a 'None' 
object, not a empty string.
I believe changing the scheme to "https" revealed this bug. The following works 
properly:

    if res.scheme == "https" and res.username is not None:

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

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

Title:
  no changelogs shown after version 1:16.04.16 update

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to