Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

7.4. PackageKit

Updated PackageKit packages that fix two bugs are now available for Red Hat Enterprise Linux 6.
PackageKit is a D-Bus abstraction layer that allows the session user to manage packages in a secure way using a cross-distribution, cross-architecture API.

Bug Fixes

BZ#1140837
Prior to this update, if the RPM v3 binary was used to re-sign custom and third-party unsigned packages, PackageKit could not handle installing these packages. As a consequence, installing certain packages using the PackageKit GUI could fail with the following error message:
pct = div * (ts_current - 1) + pct_start + ((div / 100.0) * val)
This update fixes PackageKit to handle these rare cases, and the installation no longer fails in the described situation.
BZ#1172119
Previously, when MAILTO recipients were set in the /etc/sysconfig/packagekit-background file, the /etc/cron.daily/packagekit-background.cron script only checked for the return value from the pkcon command before trying to send email reports. As a consequence, two unnecessary empty emails were sent under certain circumstances. With this update, the $PKTMP file is not attempted to be sent by email if the files is empty, and only emails with useful information are now sent in the described scenario.
Users of PackageKit are advised to upgrade to these updated packages, which fix these bugs.