canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #00019
[Bug 1981485] Re: deb2snap.json contains gnome-3-34-1804 in the seeded section
Test 1 completed successfully and the snap gnome-3-34-1804 was not
installed any more after upgrade.
bdmurray@clean-focal-amd64:/tmp/uru$ head /var/log/dist-upgrade/main.log
2022-07-22 12:30:24,915 INFO Using config files '['./DistUpgrade.cfg.focal', '/etc/update-manager/release-upgrades.d/ubuntu-advantage-upgrades.cfg']'
2022-07-22 12:30:24,916 INFO uname information: 'Linux clean-focal-amd64 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64'
2022-07-22 12:30:25,248 INFO apt version: '2.0.9'
2022-07-22 12:30:25,248 INFO python version: '3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0]'
2022-07-22 12:30:25,250 INFO release-upgrader version '22.04.12' started
2022-07-22 12:30:25,254 INFO locale: 'en_US' 'UTF-8'
2022-07-22 12:30:25,336 DEBUG Using 'DistUpgradeViewText' view
2022-07-22 12:30:25,377 DEBUG enable dpkg --force-overwrite
2022-07-22 12:30:25,424 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
bdmurray@clean-focal-amd64:/tmp/uru$ snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core20 20220706 1581 latest/stable canonical✓ base
firefox 102.0.1-1 1551 latest/stable mozilla✓ -
gnome-3-38-2004 0+git.891e5bc 112 latest/stable/… canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
snap-store 41.3-60-gfe4703a 582 latest/stable/… canonical✓ -
snapd 2.56.2 16292 latest/stable canonical✓ snapd
snapd-desktop-integration 0.1 14 latest/stable/… canonical✓ -
bdmurray@clean-focal-amd64:/tmp/uru$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1981485
Title:
deb2snap.json contains gnome-3-34-1804 in the seeded section
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Jammy:
Triaged
Status in ubuntu-release-upgrader source package in Kinetic:
Fix Released
Bug description:
[Description]
The snap gnome-3-34-1804 is no longer seeded in Ubuntu 22.04 but the distribution upgrade process is not aware of this and will leave the snap installed after the upgrade.
[Test Plan]
Test 1
------
Using the dist-upgrader tarball from http://archive.ubuntu.com/ubuntu/dists/jammy-proposed/main/dist-upgrader-all/current/ on an Ubuntu 20.04 LTS system upgrade to Ubuntu 22.04 LTS. (Using the tarball is necessary because one cannot use 'do-release-upgrade -d and -p' simultaneously.) The tarball should be manually extracted into /tmp/ and the file (or symlink) named 'jammy' should be executed.
After the upgrade completes the snap gnome-3-34-1804 should no long be
installed. (Check out output of snap list and also check
/var/log/dist-upgrade/main.log for the message "removing snap
gnome-3-34-1804".)
Test 2
------
Complete the same test as above but before upgrading install the slack snap. After the upgrade completes gnome-3-34-1804 should still be installed and the slack snap should still launch.
[Regression Potential]
Other snaps may depend on the gnome-3-34-1804 snap (slack for instance) and removing gnome-3-34-1804 would then make those snaps unusable. Subsequently, the test plan involves installing the slack snap and then upgrading and ensuring it still launches.
Original Description
--------------------
During an upgrade from Ubuntu 20.04 to Ubuntu 22.04 I noticed the following in the log:
2022-07-12 12:11:02,144 DEBUG install of snap firefox succeeded
2022-07-12 12:11:02,735 DEBUG refresh of snap gnome-3-34-1804 failed
2022-07-12 12:11:03,372 DEBUG refresh of snap gtk-common-themes succeeded
The refresh of the snap gnome-3-34-1804 failed because there is no
ubuntu-22.04 channel for it. I don't think the snap is needed any
longer and it should switch from the "seeded" section to the
"unseeded" section in deb2snap.json.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1981485/+subscriptions