GNOME Bugzilla – Bug 725001
Shows Pitivi as installed when it's not
Last modified: 2015-05-27 09:16:34 UTC
Using Software 3.11.90 on a fresh install of Fedora 20 + Gnome 3.12 Copr (http://copr.fedoraproject.org/coprs/rhughes/f20-gnome-3-12/) Pitivi shows as being installed at version 0.15.2 when it isn't installed at all. yum/dnf info pitivi shows 0.92 and 0.15.2 available. After installing pitivi 0.92 via dnf, Software still shows 0.15.2 as installed. On a different machine with Gnome/Software 3.10 without Pitivi installed, Software correctly shows it as not installed with 0.92 available.
Do you perhaps have pitivi installed locally or using jhbuild?
No. Installed F20 fresh from an ISO on a USB, everything since installed using yum, added the Gnome 3.12 repo via Copr, Pitivi not previously installed at all.
So it could be that the state of pitivi is being cached by gnome-software. I'll ask the dnf guys about this now.
Basically, we need this for dnf: https://gitorious.org/packagekit/packagekit/source/a13d6535a6cf13ee4f57c253c7023e45aa1d01c7:contrib/yum-packagekit/refresh-packagekit.py
I mark this bug as fixed after an IRC conversation with Richard. It's still true that there is no direct synchronization between PackageKit and dnf database so we still need a dnf-packagekit plugin as a general solution. But there is a workaround in packagekitd which reaches the RPM database and provides a reliable information for GNOME Software whether a package is installed or not. GNOME Software now (usually) requires packagekitd to be running so this particular issue will not occur again.