no changelogs shown after version 1:16.04.16 update

Bug #1851098 reported by Jeff
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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:

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Discaz (drsphoto) wrote :

Duplicate #1849004 ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.