** Description changed: - In the interest of improving release upgrades for users of PPAs a check - was added to ubuntu-release-upgrader to see if the release to which the - system is being upgraded is provided by a sources list entry and if it - is not that entry is disabled. This check uses the function - url_downloadable which is provided by update-manager's utils.py. Come to - find out the url_downloadable check only supports ftp and http, not - https. This can cause a situation where upgrades to the next release of - Ubuntu fail if the system's mirror of the Ubuntu archive is using https. - This is mentioned here - https://bugs.launchpad.net/ubuntu/+source - /ubuntu-release-upgrader/+bug/1807043/comments/10. + [Impact] + In the interest of improving release upgrades for users of PPAs a check was added to ubuntu-release-upgrader to see if the release to which the system is being upgraded is provided by a sources list entry and if it is not that entry is disabled. This check uses the function url_downloadable which is provided by update-manager's utils.py. Come to find out the url_downloadable check only supports ftp and http, not https. This can cause a situation where upgrades to the next release of Ubuntu fail if the system's mirror of the Ubuntu archive is using https. This is mentioned here - https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1807043/comments/10. While the bug manifests itself in ubuntu-release-upgrader it needs fixing in update-manager and will require a rebuild of ubuntu-release- upgrader which has a symlink to utils.py which is shipped in the dist- upgrader tarball. + + [Test Case] + update-manager - only ubuntu-release-upgrader uses url_downloadable but I added a test to update-manager to ensure that https works, the test may be skipped though if the https test site is not available so keep an eye out for that. + + ubuntu-release-upgrader + 1) On a xenial or bionic system edit your sources.list file so that you are using an https mirror of the archive. + 2) try to upgrade to the next release of ubuntu using 'do-release-upgrade' + + With the version of ubuntu-release-upgrader in the archive you will not + be allowed to upgrade because ubuntu-minimal will not be found. With the + version in -proposed, accessed by using 'do-release-upgrade -p' you + should be able to upgrade to the next release of Ubuntu. + + [Regression Potential] + There isn't much chance of a regression as we are just adding https to the list of schemes that we will test with urlopen.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1823410 Title: utils.py's url_downloadable doesn't support https To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1823410/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
