Existing lock /var/run/yum.pid: another copy is running as pid 3053.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 37 M RSS ( 82 MB VSZ)
Started: Sun Jan 24 16:11:53 2010 - 14:44 ago
State : Sleeping, pid: 3053
后来才发现只要把/etc/yum/pluginconf.d/refresh-packagekit.conf改为如下:
enabled=0
然后重启linux系统设置生效。
shutdown -r now 重启lniux系统计算机 或者 reboot 重启lniux系统计算机