Created attachment 135532 [details] Can't uninstall kolourpaint See attached screen recording. I can't uninstall PackageKit apps. Flatpak apps can be uninstalled though. While uninstalling, pkmon says: Transactions: 1 /10_dcaedaad /10_dcaedaad allow_cancel 1 /10_dcaedaad role remove-packages /10_dcaedaad status setup /10_dcaedaad percentage 10 /10_dcaedaad percentage 40 /10_dcaedaad status dep-resolve /10_dcaedaad percentage 100 /10_dcaedaad percentage 0 /10_dcaedaad percentage 100 /10_dcaedaad status finished /10_dcaedaad exit code: success Transactions: [none] Transactions: 1 /11_ceaadabd /11_ceaadabd allow_cancel 1 /11_ceaadabd role remove-packages /11_ceaadabd status remove /11_ceaadabd percentage 10 /11_ceaadabd percentage 40 /11_ceaadabd status dep-resolve /11_ceaadabd percentage 100 /11_ceaadabd status remove /11_ceaadabd percentage 0 /11_ceaadabd percentage 100 /11_ceaadabd status finished /11_ceaadabd exit code: success Transactions: [none] Howeve the app is not actually uninstalled.
`pkcon remove kolourpaint` works: nate@Liberator:~/kde/src/kconfigwidgets$ (master) pkcon remove kolourpaint Resolving [=========================] Testing changes [=========================] Finished [ ] (0%) The following packages have to be removed: kolourpaint-20.12.2-1.1.x86_64 Paint Program kolourpaint-lang-20.12.2-1.1.noarch Translations for package kolourpaint Proceed with changes? [N/y] y [=========================] Removing [=========================] Waiting for authentication [=========================] Removing packages [=========================] Resolving dependencies [=========================] Removing packages [=========================] Finished [=========================] nate@Liberator:~/kde/src/kconfigwidgets$ (master) nate@Liberator:~/kde/src/kconfigwidgets$ (master) pkcon get-details kolourpaint Resolving [ ] (0%) More than one package matches: 1. kolourpaint-20.12.2-1.1.x86_64 [repo-oss] 2. kolourpaint-20.12.2-1.1.i586 [repo-oss]
Maybe this is something that someone from opensuse could take a look and maybe see what's happening? PackageKit too seems to think the removal was a success on the pkmon trace you showed.
Does it work immediately after running "pkcon refresh"? If so, you're most likely hitting https://bugzilla.opensuse.org/show_bug.cgi?id=1180597.
Yes it does. Thanks for that.
Reopening: According to the PackageKit maintainer this is because discover uses the wrong package ID for removal. method call time=1614626927.297372 sender=:1.124 -> destination=org.freedesktop.PackageKit serial=230 path=/1_ddbceacc; interface=org.freedesktop.PackageKit.Transaction; member=RemovePackages uint64 4 array [ string "kolourpaint;21.03.70git.20210227T162420~2f21b195-ku.13.1;x86_64;KUA" ] boolean true boolean false This package ID refers to a package in the repo, which can be used for installation and getting info, but not be removed. For removal, it has to use the system package ID, which would be "kolourpaint;21.03.70git.20210227T162420~2f21b195-ku.13.1;x86_64;installed" in this case.
This seems to be fixed now, either by something in Discover, or something in openSUSE Tumbleweed.