Problem:
# yum install autofs
Loaded plugins: langpacks, presto, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 3144.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 50 M RSS (452 MB VSZ)
Started: Wed Feb 6 12:29:36 2013 - 45:50 ago
State : Sleeping, pid: 3144
Workaround:
# sudo /usr/bin/gpk-prefs
select never