** Description changed:

- 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.
+ [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 gnome-calculator
+ will end up tracking 19.04.
+ 
+ [Regression Potential]
+ I've set fromVersion to a default value of '' so I think there is little 
chance of there being a regression.

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

Title:
  snaps not refreshed when upgrading from bionic or cosmic to disco

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1827951/+subscriptions

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

Reply via email to