Test run: * With old version (41.5), under "install" tab attempted to uninstall package "0ad" * Error message "no package to remove" given * Ran `which 0ad` which exited with return code 0
* Installed proposed package (41.5-2ubuntu2) * Rebooted machine * Under "install" tab attempted to uninstall package "0ad" * Prompted for confirmation and password * Application removed from list of installed packages * `which 0ad` exits with error code 1 (command non-existent or not executable) * `apt list 0ad` not showing `[installed]` or `[auto]` or `[manual]`. * Install application "2048" (source deb) * Removed application "2048" * Attempt to locate a package with a snap source **failed** * Attempt to remove package with a snap source **failed** (no packages listed with snap sources, including some I know I installed previously). * Downgraded gnome-software and gnome-software-common to 41.5-2 * Attempt to locate a package with a snap source **failed** * Attempt to remove package with a snap source **failed** (no packages listed with snap sources, including some I know I installed previously). Unfortunately, I did not check if I could uninstall snaps before doing the upgrade. However, there are snaps installed that I must have done through gnome-software, that I can now no longer see or remove. As such, I cannot in good faith tag this verification-done-jammy. However, the bug mentioned is passed so I'm not sure if I should label it verification-failed-jammy. I'd suggest future testers check explicitly that they can see, install and remove snap packages before and after the upgrade, and wouldn't mind if someone verifies this for me. -- 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/1969303 Title: "No package to remove" error when attempting to uninstall Status in GNOME Software: Fix Released Status in snap-store-desktop: Fix Released Status in gnome-software package in Ubuntu: Fix Released Status in gnome-software source package in Jammy: Fix Committed 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 To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-software/+bug/1969303/+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