** Changed in: gnome-software (Ubuntu Bionic)
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/1552792

Title:
  gnome software leaves dependencies installed

Status in GNOME Software:
  Invalid
Status in Release Notes for Ubuntu:
  Fix Released
Status in gnome-software package in Ubuntu:
  Fix Released
Status in packagekit package in Ubuntu:
  Fix Released
Status in gnome-software source package in Bionic:
  Fix Committed
Status in packagekit source package in Bionic:
  Fix Committed
Status in gnome-software source package in Cosmic:
  Fix Released
Status in packagekit source package in Cosmic:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-software/+bug/1552792/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to