[Bug 1827951] Update Released
Ćukasz Zemczak
1827951 at bugs.launchpad.net
Mon May 13 19:09:56 UTC 2019
The verification of the Stable Release Update for ubuntu-release-
upgrader has completed successfully and the package has now been
released to -updates. Subsequently, the Ubuntu Stable Release Updates
Team is being unsubscribed and will not receive messages about this bug
report. In the event that you encounter a regression using the package
from -updates please report a new bug using ubuntu-bug and tag the bug
report regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1827951
Title:
snaps not refreshed when upgrading from bionic or cosmic to disco
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Disco:
Fix Released
Bug description:
[Impact]
People have outdated snaps!
The function _replaceDebsWithSnaps() has the version number of Ubuntu hardcoded in it and was not updated in Ubuntu 19.04. Subsequently, the snaps are not refreshed when upgrading from Ubuntu 18.10 to Ubuntu 19.04. This was fixed in Eoan by utilizing python distro_info's ability to get the release version for a codename but unfortunately that's not available in Ubuntu 19.04 so we'll just update the hardcoded version.
[Test Case]
1) on a cosmic or bionic system run do-release-upgrade and upgrade to disco
2) observe the following in /var/log/dist-upgrade/main.log
2019-05-07 11:38:20,921 DEBUG Snap gnome-calculator is installed
2019-05-07 11:38:20,921 DEBUG Snap gnome-calculator is not tracking the release channel
3) also check the output of "snap info gnome-calculator" for tracking "stable/18.10" (or 18.04)
With the version of the release-upgrader in -proposed (do-release-upgrade -p) gnome-calculator will end up tracking 19.04 and you'll see the following in main.log:
"2019-05-07 12:41:25,611 DEBUG refresh of snap gnome-calculator succeeded"
[Regression Potential]
I've set fromVersion to a default value of '' so I think there is little chance of there being a regression.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1827951/+subscriptions
More information about the foundations-bugs
mailing list