"No package to remove" error when attempting to uninstall
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Software |
Fix Released
|
Unknown
|
|||
snap-store-desktop |
Fix Released
|
Critical
|
Robert Ancell | ||
gnome-software (Ubuntu) |
Fix Released
|
Critical
|
Jeremy Bícha | ||
Jammy |
Fix Released
|
Critical
|
fossfreedom |
Bug Description
[Impact]
* The Ubuntu repository version of gnome-software in 22.04 does not
allow a user to uninstall an application.
For new users this could be be construed as disconcerting
allowing only installing apps without the ability to
remove those apps later if required.
This SRU is applicable only to the gnome-software application
installed from the repository and not the branded
ubuntu-store snap that is the default in Ubuntu (but not in
flavours such as Ubuntu Budgie)
This fix for gnome-software has been backported from the
v41 version of ubuntu's snap-store.
The fixed software now checks for the status of a deb package
installed - either manually installed or automatically as
part of a distro install. Previously this check was not done
and gnome-software defaulted to not allowing the package to
be uninstalled.
The new status check allows gnome-software to evaluate that
the package can be uninstalled.
[Test Plan]
* Choose a package from the installed list in gnome-software.
Click the trash icon. Note the error message that the package
cannot be removed.
* install gnome-software from the proposed repository. Logout and
login.
Repeat the trash icon click step above. This time the package
can be removed. Confirm via either your distro menu or searching in
GNOME Overview (if you are using gnome-software from the repository) that the
application has been successfully removed.
* Perform additional testing such as installing applications from the repository
(change the source to "Ubuntu (deb)") and then deleting the application.
* Perform additional testing such as installing applications from the snap
repository (change the source to "Snap") and then deleting the application.
[Where problems could occur]
* The code changed is specific to 'packagekit' repos i.e. debian based repos.
Thus it is sensitive to possible regressions when installing & removing apps.
* The patch itself is well tested since it was backported to the ubuntu snap-store
several weeks ago and has been rolled out. No adverse issues has been reported.
* The risk would be that there could be additional changes to the snap-store
that was not incorporated in gnome-software possibly producing different
results.
* The additional regression tests in the Test Plan will reveal this.
[Other Info]
* There is no need to backport this to Kinetic since a revised version
of the patch has been upstreamed (GNOME Team) and is in the kinetic version.
----
On a fresh install of Ubuntu 22.04, ubuntu-store won't uninstall any application
If you want to uninstall a software, there is an error message : "no package to remove"
No problem to uninstall this same software with synaptic for example
tags: | added: jammy |
description: | updated |
Changed in gnome-software (Ubuntu): | |
milestone: | none → ubuntu-22.04.1 |
tags: | added: rls-jj-incoming |
Changed in snap-store-desktop: | |
status: | Fix Released → Confirmed |
Changed in snap-store-desktop: | |
assignee: | nobody → Robert Ancell (robert-ancell) |
status: | Triaged → Fix Committed |
Changed in gnome-software (Ubuntu Jammy): | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in snap-store-desktop: | |
status: | Fix Committed → Fix Released |
Changed in gnome-software: | |
status: | Unknown → Fix Released |
Changed in gnome-software (Ubuntu Jammy): | |
assignee: | nobody → fossfreedom (fossfreedom) |
description: | updated |
Changed in gnome-software (Ubuntu Jammy): | |
status: | Triaged → In Progress |
Can confirm so updating status.