‘Not supported’ error message shown when cancelling PackageKit install
Whenever I want to install an application using Software, I am experiencing some weird behaviour from the Cancel button.
Case 1
When I try to install a Flatpak installation and I hit Install, the button changes to Cancel and can be clicked onto. However, downloading the data continues until 100% is downloaded and only after that the installation is cancelled and the previous status quo is restored. Screencast_from_2023-03-22_14-19-44
Case 2
Installing an RPM package is finished immediately by using the Cancel button, however an error message is shown to the user (Unable to install as not supported.*_) that is totally off-topic to what the user has been trying to do. One would expect something like Installation cancelled by the user or similar.
Case 3
Sometimes (not always and mostly as a follow-up for case 2), when trying to install the application again, the Cancel button becomes not-clickable (locked) and the installation cannot be aborted and the package will finally get installed.
Case 4
When trying to uninstall the application, especially an RPM one, the Cancel button is locked and the action cannot be aborted. I understand that at this point I, as a user, have confirmed twice to uninstall, but such behavior can be confusing.
What Linux distribution are you using, and what kind of package (RPM, deb, flatpak, etc.) are you experiencing the problem with?
Please attach a log of the issue, by running the following commands, reproducing the issue, and then attaching gnome-software.log
here:
pkill gnome-software
gnome-software --verbose &> gnome-software.log
If the problem is with the user interface, please attach a screenshot or video of it. Please attach the file directly rather than linking to an external hosting service, as external files are likely to be deleted after a while.