Bug 395994

Summary: Discover shows installed packages that I have removed.
Product: [Applications] Discover Reporter: n9p7v <dimitriounicholas>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: 5.13.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description n9p7v 2018-06-29 09:45:13 UTC
I installed some packages via terminal, then I removed them via terminal again.
After that everytime I open Discover, I see in the installed list the packages that I have removed. If I select the package and press the remove option the Discover seems to stuck (it shows 0% in Tasks) until I kill the process.
Comment 1 Aleix Pol 2018-07-02 14:28:51 UTC
Git commit d4ed6e5ed987050d59b2b006b2cac6c765905b9e by Aleix Pol.
Committed on 02/07/2018 at 14:26.
Pushed by apol into branch 'Plasma/5.12'.

PK: Make sure we resolve the transaction application if it fails

This makes sure the state the application is in is still in sync.
PackageKit doesn't give us notifications about package changes. Could be
tracking transactions, maybe.

M  +3    -0    libdiscover/backends/PackageKitBackend/PKTransaction.cpp

https://commits.kde.org/discover/d4ed6e5ed987050d59b2b006b2cac6c765905b9e