使用yum命令时,系统提示:
Loaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/run/yum.pid: another copy is running as pid 1182.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 18 M RSS ( 33 MB VSZ)
Started: Mon Sep 22 13:22:52 2014 - 06:25 ago
State : Sleeping, pid: 11824
主要原因就是yum在自动更新或你在用SoftUpadate更新软件, 只要关掉他就可以了
解决方案:
直接输入 rm -f /var/run/yum.pid或者: /etc/init.d/yum-updatesd stop
也可以等更新完了再进行安装