Description of problem: Atm. yum --security doesn't install qt, because the epoch information is wrong (see bug 519405). However PK says that there is a qt security errata ... which implies it is parsing the updateinfo incorrectly. This is probably not a huge bug, because rel-eng hould always bump the release as well as the epoch.
Any more pointers to where the bug could be? I'm not sure I understand why PK is getting it wrong. Thanks.
In get_updates() you have: # Get info about package in updates info notice = md.get_notice((pkg.name, pkg.version, pkg.release)) if notice: status = self._get_status(notice) pkgfilter.add_custom(pkg, status) else: pkgfilter.add_custom(pkg, INFO_NORMAL) ...you want to be using get_applicable_notices(), which will fix this bug and will solve the other bug of: Installed: pkg-1-1.i386 Security Errata: pkg-2-1.i386 Update: pkg-3-1.i386 ...as "get_applicable_notices() for (pkg, i386, 0, 3, 1)" will give you the security errata notice.
commit 2bd925a842905d38fb1c40de7ac60e72ed5ab08f Author: Richard Hughes <richard> Date: Wed Jan 20 17:09:01 2010 +0000 yum: Ensure we look in all update notices for a security update. Fixes rh#526279
PackageKit-0.5.7-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/PackageKit-0.5.7-1.fc12
PackageKit-0.5.7-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.