yum提示another app is currently holding the yum lock;waiting for it to exit

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 153 M RSS (266 MB VSZ)
    Started: Thu Jul 12 00:03:05 2012 - 06:17 ago
    State  : Sleeping, pid: 4018
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 153 M RSS (266 MB VSZ)
    Started: Thu Jul 12 00:03:05 2012 - 06:19 ago
    State  : Sleeping, pid: 4018

解决方法:
rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。