packagekit: Just uninstalled local package set as installed
While looking on #985 (closed) I noticed a counter problem:
When I uninstall the local package, it is set back to installed immediately after the removal and I cannot get rid of it, neither I can Uninstall it (again), because I get "no package" error (as expected, I just uninstalled it a minute ago).
That's caused by
gs_plugin_appstream_refine_state (plugin=0x578990 [GsPlugin], app=0x7fffd0060ef0 [GsApp], error=0x7fffd7253650) at ../plugins/core/gs-plugin-appstream.c:729, it sees the appdata file is available, thus it considers the application being installed, even it is not anymore.
I do not know what to do about it.