Created attachment 313823 [details] Corrupted RPM DB sample - compressed with LZMA 4.32.5 PackageKit appears to be corrupting my RPM Database each time I install large quantities of packages in one go. This issue is reproduced by installing packages with a large number of dependencies, the same packages and dependencies being installed does not cause any issues when using Yum or YumEx as opposed to the Gnome PackageKit Application (gpk-application). The result using PackageKit for large transactions is a corrupt RPM DB which requires: rm /var/lib/rpm/__db* rpmdb --rebuilddb to fix.
PackageKit uses the same code as using the yum cli -- it just wraps it in a bit of python and then schedules the transactions. Are you sure you can 100% trace this to PackageKit? I'm slightly confused why this would be the case.
I have noticed that corruption(s) did occur when SELinux labels were wrong on the /var/lib/rpm directory and files inside it, but i'm not sure how they were wrong to begin with. Also them not being what they were meant to be didn't trigger any messages on SETroubleshoot or any logs. I only realised they were different after running fixfiles -F relabel, when they had been changed. My guess is bad labels caused it to fail multiple times, doesn't explain why yum worked each time but PK failed... Anyway if no-one else (including me) experiences this in the next month or so i'd close the bug, since PK appears to not be breaking now i've made the changes.
Okay, thanks.