Packagekit-qt2 0.6.21 installs FindPackageKitQt2.cmake under /usr/share/cmake/Modules. This effectively hides the module from cmake at runtime.
The problem is in lib/packagekit-qt2/modules/Makefile.am and lib/packagekit-qt/modules/Makefile.am .
libproxy had a similar bug: http://code.google.com/p/libproxy/issues/detail?id=163
It seems new versions of packagekit don't use these cmake files, so probably the problem went away, but in the new versions the NEWS file recommends to use 0.6.x versions for stability.
cmake version is 2.8.7-2
Linux is Arch.
Create a stub CMakeLists.txt file containing
and run cmake <DIRECTORY WHERE ABOVE FILE EXISTS>. a warning that the module cannot be found is printed.
Hmm, I wonder why we've not noticed this before... Is there any chance you could write a patch to fix this please? Thanks.
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.