To reproduce 1. Launch Discover 2. Install some app Actual results: Installation work fine but the app remains visible with a 'Install' button. Clicking on it show "Package is already installed" message Identical behaviour on package remove (app remains visible with a 'Remove' button. after discover restart the button shows correctly status Expected results: app result installed/removed immediately after install/remove process Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1508735
I can confirm this. What *does* work as expected, interestingly, if you click on the app to get it's full description... then install/remove there.
Git commit 82f69cffc8ff52fb567de70b81e4f3a06f865525 by Aleix Pol. Committed on 18/05/2018 at 14:25. Pushed by apol into branch 'Plasma/5.12'. Resolve all packages that have been modified by the transaction PackageKit dnf backend doesn't resolve the different packages in the transaction as finished so they were not detected as changed. M +6 -4 libdiscover/backends/PackageKitBackend/PKTransaction.cpp https://commits.kde.org/discover/82f69cffc8ff52fb567de70b81e4f3a06f865525