gnome-software-plugin-snap consider an unwanted removal for 20.04 ubuntu-desktop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
Focal |
Triaged
|
Medium
|
Unassigned |
Bug Description
[Impact]
Many packages are not considered for removal by the release upgrader when upgrading from bionic to focal because gnome-software-
[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-
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/
2020-09-07 15:57:38,148 DEBUG package 'libxml-
2020-09-07 15:57:40,290 DEBUG 'libxml-
2020-09-07 15:57:40,349 DEBUG package 'libexporter-
2020-09-07 15:57:42,485 DEBUG 'libexporter-
In Ubuntu 18.04 this package was a part of the following tasks:
Task: ubuntu-desktop, xubuntu-desktop, ubuntustudio-
However, for 20.04 it is a part of the following tasks:
Task: xubuntu-desktop, ubuntustudio-
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.
tags: | added: focal rls-gg-incoming |
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Invalid → Won't Fix |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | Fix Released → Triaged |
importance: | Undecided → Medium |
assignee: | Brian Murray (brian-murray) → nobody |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Won't Fix → Triaged |
tags: | added: rls-hh-incoming |
tags: | added: fr-887 |
tags: | removed: rls-hh-incoming |
I tested an upgrade where I added gnome-software- plugin- snap to the ForcedObsoletes section of ubuntu-desktop and the following packages were marked for removal. (I did a diff of removed packages w/ and w/o that package in ForcedObsoletes.)
command- not-found- data 6-common diff-perl system1. 65.1 thread1. 65.1 xsaccessor- perl json-xs- perl tiny-perl w-3.0-common compare- perl compare- perl stash-xs- perl avmedia- backend- gstreamer style-galaxy utf8-perl namespacesuppor t-perl sax-base- perl sax-expat- perl 5.4.0-42 5.4.0-42- generic 5.4-headers- 5.4.0-47 5.4.0-42- generic 5.4.0-42- generic extra-5. 4.0-42- generic keyrings. alt simplegeneric zope.interface system- service xorg-hwe- 18.04 xorg-input- all-hwe- 18.04 xorg-input- libinput- hwe-18. 04 xorg-video- ati-hwe- 18.04 xorg-video- fbdev-hwe- 18.04 xorg-video- intel-hwe- 18.04
example-content
gcc-7-base
imagemagick-
libalgorithm-
libart-2.0-2
libasan4
libboost-
libboost-
libclass-
libcpanel-
libexempi3
libexiv2-14
libexporter-
libfakeroot
libfuture-perl
libgtksourcevie
libgweather-3-15
libhunspell-1.6-0
libhwloc5
libilmbase12
libilmbase24
libio-async-perl
libio-pty-perl
libip4tc0
liblist-
liblqr-1-0
libmozjs-52-0
libnet-ip-perl
libnss-myhostname
libnumber-
liboauth0
libpackage-
libplymouth4
libpython2.7
libraw16
libreoffice-
libreoffice-
libstruct-dumb-perl
libtest-fatal-perl
libubsan0
libunicode-
libusbmuxd4
libxapian30
libxml-libxml-perl
libxml-
libxml-
libxml-
libxml-sax-perl
libxml-writer-perl
libzeitgeist-2.0-0
light-themes
linux-headers-
linux-headers-
linux-hwe-
linux-image-
linux-modules-
linux-modules-
python-talloc
python3-asn1crypto
python3-crypto
python3-
python3-oauth
python3-
python3-
python3.6
python3.6-minimal
qpdf
t1utils
ubuntu-sounds
ubuntu-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-