Manually installed local package with no AppStream metadata cannot be uninstalled
Manually installed deb/rpm packages are not displayed on the "Installed" tab of GNOME Software and cannot be uninstalled using GNOME Software after they are installed.
Steps to reproduce:
- Open and install any local deb/rpm file (for example Visual Studio Code) using GNOME Software.
- Kill the GNOME Software process using
- Open GNOME Software and switch to the "Installed" tab.
- Search for the package.
It happens on both the latest Ubuntu 20.04 with GNOME Software 3.36 and Fedora 31 with GNOME Software 3.34.2.
(It is even worse because the "Remove" button when opening an already installed local package is regressed as well, see #965 (closed).)
edit: As discussed on IRC with @hughsie, this issue does most likely happen only for packages that have no AppStream metadata and it is expected behaviour. #965 (closed) should be fixed instead to allow uninstallation of the packages.