[Bug 1894919] Re: gnome-software-plugin-snap consider an unwanted removal for 20.04 ubuntu-desktop

Steve Langasek 1894919 at bugs.launchpad.net
Thu Sep 17 16:02:38 UTC 2020


Hello Brian, or anyone else affected,

Accepted ubuntu-release-upgrader into focal-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:20.04.27 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
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/1894919

Title:
  gnome-software-plugin-snap consider an unwanted removal for 20.04
  ubuntu-desktop

Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid
Status in ubuntu-release-upgrader source package in Focal:
  Fix Committed

Bug description:
  [Impact]
  Many packages are not considered for removal by the release upgrader when upgrading from bionic to focal because gnome-software-plugin-snap is a part of the removal set but is not itself considered for removal. However, if you run 'sudo apt autoremove' after upgrading from bionic to focal you will have a lot of packages which will be auto removed.

  [Test Case]
  1) Upgrade an 18.04 system with ubuntu-desktop installed to Ubuntu 20.04 (do-release-upgrade -d)
  2) At the end of the upgrade choose to remove unneeded packages
  3) When the upgrade has finished run 'sudo apt autoremove' and observe that the list of packages in comment #3 are all removable.

  With the version of the release-upgrader from -proposed the packages
  listed in comment #3 will be removed as a part of the upgrade process
  and will not appear in the list of packages 'sudo apt autoremove'
  wants to remove.

  Additionally, we should ensure that nothing extra is autoremoved by
  collecting and comparing the list of packages installed after an
  upgrade with and without the dist-upgrader from -proposed. We'll want
  to make sure that only the packages that are in the 'sudo apt
  autoremove' list are not installed on the system that used the dist-
  upgrader from -proposed.

  [Regression Potential]
  While this change should only affect systems with the ubuntu-desktop or ubuntu-kylindesktop metapackage installed we should also test the upgrade of a different flavor (xubuntu-desktop) which depends on gnome-software-plugin-snap to ensure that it is not removed.

  
  Original Description
  --------------------
  I've been testing some release upgrades from 18.04 to 20.04 and noticed some packages were not getting removed with the following in /var/log/dist-upgrade/main.log.

   2020-09-07 15:57:38,148 DEBUG package 'libxml-sax-expat-perl' produces an unwanted removal 'gnome-software-plugin-snap', skipping
   2020-09-07 15:57:40,290 DEBUG 'libxml-sax-expat-perl' scheduled for remove but not safe to remove, skipping
   2020-09-07 15:57:40,349 DEBUG package 'libexporter-tiny-perl' produces an unwanted removal 'gnome-software-plugin-snap', skipping
   2020-09-07 15:57:42,485 DEBUG 'libexporter-tiny-perl' scheduled for remove but not safe to remove, skipping

  In Ubuntu 18.04 this package was a part of the following tasks:

  Task: ubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop,
  ubuntukylin-desktop, ubuntu-budgie-desktop

  However, for 20.04 it is a part of the following tasks:

  Task: xubuntu-desktop, ubuntustudio-desktop, ubuntu-budgie-desktop

  Because the package is in main it is not a removal candidate itself
  but given that it is no longer part of the ubuntu-desktop and
  ubuntukylin-desktop packages it seems reasonable to add it to
  ForcedObsoletes but only for those 2 metapackages.

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



More information about the foundations-bugs mailing list