[Bug 1894919] Re: gnome-software-plugin-snap consider an unwanted removal for 20.04 ubuntu-desktop
Brian Murray
1894919 at bugs.launchpad.net
Thu Sep 17 20:34:32 UTC 2020
Here is the list of autoremovable packages after upgrading with u-r-u
version 20.04.25:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
adium-theme-ubuntu binutils-common command-not-found-data cpp-7 diffstat
fwupdate gcc-7-base gcc-8-base geoip-database gir1.2-mutter-2
gnome-software-common gnome-user-guide gsfonts guile-2.0-libs
imagemagick-6-common iputils-arping libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libappstream-glib8
libapt-pkg-perl libarchive-zip-perl libargon2-0 libart-2.0-2
libasync-mergepoint-perl libatomic1 libb-hooks-endofscope-perl
libb-hooks-op-check-perl libbind9-160 libbinutils libboost-date-time1.65.1
libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-system1.65.1
libbrlapi0.6 libc-dev-bin libc6-dev libcamel-1.2-61 libcdio17
libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl
libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl
libcommon-sense-perl libcrypt-dev libctf0 libdevel-callchecker-perl
libdevel-size-perl libdigest-bubblebabble-perl libdns1100
libdynaloader-functions-perl libebook-contacts-1.2-2 libecal-1.2-19
libedataserver-1.2-23 libevent-2.1-6 libexiv2-14 libexporter-tiny-perl
libfcgi-perl libffi6 libfftw3-double3 libfile-copy-recursive-perl
libfont-ttf-perl libfuture-perl libgail-3-0 libgdbm5 libgeoip1
libgmime-3.0-0 libgnome-desktop-3-17 libgtksourceview-3.0-1
libgtksourceview-3.0-common libgutenprint-common libgutenprint2
libgutenprint9 libgweather-3-15 libhogweed4 libhunspell-1.6-0 libicu60
libilmbase12 libilmbase24 libimport-into-perl libindicator3-7 libio-pty-perl
libio-string-perl libip4tc0 libip6tc0 libipc-run-perl libiptc0 libirs160
libisc169 libisccc160 libisccfg160 libisl19 libitm1 libjson-c3
libjson-xs-perl liblinux-epoll-perl liblist-compare-perl
liblist-moreutils-perl liblouis14 liblouisutdml8 liblqr-1-0 liblsan0
liblwres160 libmagickcore-6.q16-3 libmagickcore-6.q16-6 libminiupnpc10
libmodule-implementation-perl libmodule-runtime-perl libmoo-perl
libmoox-aliases-perl libmozjs-52-0 libmutter-2-0 libnamespace-clean-perl
libncurses5 libncursesw5 libnet-domain-tld-perl libnet-ip-perl libnettle6
libnss-myhostname libntfs-3g88 libnumber-compare-perl liboauth0 libopenexr22
libopenexr24 liborcus-0.13-0 libpackage-stash-perl libpackage-stash-xs-perl
libparams-classify-perl libparse-debianchangelog-perl libpath-tiny-perl
libperl4-corelibs-perl libperl5.26 libperlio-gzip-perl libplymouth4
libpoppler73 libprotobuf10 libpython2.7 libpython2.7-minimal
libpython2.7-stdlib libpython3.6 libpython3.6-minimal libpython3.6-stdlib
libqpdf21 libquadmath0 libraw16 libreadline7 libreadonly-perl
libref-util-perl libref-util-xs-perl libreoffice-avmedia-backend-gstreamer
libreoffice-style-galaxy librole-tiny-perl libsane1 libsereal-decoder-perl
libsereal-encoder-perl libsereal-perl libssl1.0.0 libstrictures-perl
libsub-exporter-progressive-perl libsub-identify-perl libsub-quote-perl
libtest-fatal-perl libtest-refcount-perl libtext-levenshtein-perl libtinfo5
libtsan0 libtype-tiny-perl libtype-tiny-xs-perl libtypes-serialiser-perl
libubsan1 libunicode-utf8-perl libusbmuxd4 libvariable-magic-perl libvpx5
libxml-simple-perl libxml-writer-perl libzeitgeist-2.0-0
linux-generic-hwe-18.04 linux-headers-generic-hwe-18.04
linux-hwe-5.4-headers-5.4.0-45 linux-hwe-5.4-headers-5.4.0-47
linux-image-generic-hwe-18.04 linux-libc-dev multiarch-support nplan
patchutils pppconfig printer-driver-gutenprint python-talloc
python3-asn1crypto python3-oauth python3-simplegeneric
python3-zope.interface python3.6 python3.6-minimal qpdf t1utils
ubuntu-system-service xserver-xorg-core-hwe-18.04 xserver-xorg-hwe-18.04
xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04
xserver-xorg-input-wacom-hwe-18.04 xserver-xorg-legacy-hwe-18.04
xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04
xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04
xserver-xorg-video-nouveau-hwe-18.04 xserver-xorg-video-qxl-hwe-18.04
xserver-xorg-video-radeon-hwe-18.04 xserver-xorg-video-vmware-hwe-18.04
0 upgraded, 0 newly installed, 214 to remove and 0 not upgraded.
After this operation, 457 MB disk space will be freed.
Do you want to continue? [Y/n] Abort.
Attached is the list of packages installed after the autoremove.
** Attachment added: "uru-20.04.25-installed-after-autoremove.txt"
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1894919/+attachment/5411895/+files/uru-20.04.25-installed-after-autoremove.txt
--
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