** Description changed: - Using gnome software (or another PackageKit or aptdaemon based UI) to - install an application - removal of that package leaves behind - dependencies + [Impact] + Installing an application them removing it leaves dependencies behind. - Installing an application with ubuntu software centre only leaves behind - config files (seen in synaptic labelled for complete removal). + [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 - After installing and then removing alarm clock with USC - + Expected result: + The packages in step 6 are the same as in step 2 (which might be none). - sudo apt-get autoremove - [sudo] password for wolf: - Reading package lists... Done - Building dependency tree - Reading state information... Done - 0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade. + Observed result: + The packages in step 6 includes libqqwing2v5, which is a dependency of gnome-sudoku and not useful without the game installed. - After cleaning up and then reinstalling with gnome software, followed by - the removal - - sudo apt-get autoremove - Reading package lists... Done - Building dependency tree - Reading state information... Done - The following packages will be REMOVED - libappindicator1 libindicator7 - 0 to upgrade, 0 to newly install, 2 to remove and 1 not to upgrade. - After this operation, 184 kB disk space will be freed. - - ProblemType: Bug - DistroRelease: Ubuntu 16.04 - Package: gnome-software 3.19.92~git20160303.26a927d-0ubuntu1 - ProcVersionSignature: Ubuntu 4.4.0-10.25-generic 4.4.3 - Uname: Linux 4.4.0-10-generic x86_64 - ApportVersion: 2.20-0ubuntu3 - Architecture: amd64 - CurrentDesktop: XFCE - Date: Thu Mar 3 16:23:45 2016 - InstallationDate: Installed on 2015-10-29 (126 days ago) - InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151029) - SourcePackage: gnome-software - UpgradeStatus: No upgrade log present (probably fresh install) + [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: gnome-software (Ubuntu Cosmic) Status: Triaged => In Progress ** Changed in: gnome-software (Ubuntu Cosmic) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software 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 Committed Status in packagekit package in Ubuntu: Fix Committed Status in gnome-software source package in Bionic: Triaged Status in packagekit source package in Bionic: Triaged Status in gnome-software source package in Cosmic: Fix Committed Status in packagekit source package in Cosmic: Fix Committed 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/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp