gnome software leaves dependencies installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Software |
Invalid
|
High
|
|||
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
gnome-software (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell | ||
Bionic |
Fix Released
|
Medium
|
Robert Ancell | ||
Cosmic |
Fix Released
|
Medium
|
Robert Ancell | ||
packagekit (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell | ||
Bionic |
Fix Released
|
Medium
|
Robert Ancell | ||
Cosmic |
Fix Released
|
Medium
|
Robert Ancell |
Bug Description
[Impact]
Installing an application them removing it leaves dependencies behind.
[Test Case]
1. Ensure that GNOME Sudoku is not installed:
$ sudo apt remove gnome-sudoku libqqwing2v5
2. Check if you have any packages that need autoremoval:
$ sudo apt autoremove --no-act
3. Open GNOME Software.
4. Search for and install GNOME Sudoku (make sure to install the .deb, not the snap).
5. Uninstall GNOME Sudoku.
6. Check if you have any packages that need autoremoval:
$ sudo apt autoremove --no-act
Expected result:
The packages in step 6 are the same as in step 2 (which might be none).
Observed result:
The packages in step 6 includes libqqwing2v5, which is a dependency of gnome-sudoku and not useful without the game installed.
[Regression Potential]
This requires a fix to PackageKit which used to autoremove all packages (too aggressive), not just the ones related to the current transaction. A bug in the code could cause more packages to be removed than is suitable. GNOME Software previously didn't use this autoremove functionality, so by enabling it we could trigger a problem in either the existing code or the new fix.
Changed in ubuntu-release-notes: | |
status: | New → Fix Released |
tags: | added: bionic |
Changed in gnome-software: | |
importance: | Unknown → High |
status: | Unknown → Confirmed |
Changed in gnome-software: | |
status: | Confirmed → Invalid |
summary: |
- gnome software leaves dependencies installed + PackageKit leaves dependencies installed |
description: | updated |
summary: |
- PackageKit leaves dependencies installed + gnome software leaves dependencies installed |
Changed in packagekit (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in gnome-software (Ubuntu): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in packagekit (Ubuntu): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in gnome-software (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in packagekit (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in gnome-software (Ubuntu Bionic): | |
importance: | Undecided → Medium |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in packagekit (Ubuntu Bionic): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in packagekit (Ubuntu Cosmic): | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in gnome-software (Ubuntu Cosmic): | |
status: | Triaged → In Progress |
status: | In Progress → Fix Committed |
Changed in packagekit (Ubuntu Bionic): | |
status: | Triaged → Fix Committed |
Changed in gnome-software (Ubuntu Bionic): | |
status: | Triaged → Fix Committed |
Does USC do an autoremove afterwards or does it explicitly remove dependencies?