LINUX

首页 -  LINUX  -  Another app is currently holding the yum lock

Another app is currently holding the yum lock

解决yum进程

Existing lock /var/run/yum.pid: another copy is running as pid 2503.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  19 M RSS (306 MB VSZ)
    Started: Thu Oct 29 23:03:02 2015 - 04:00 ago
    State  : Traced/Stopped, pid: 2503
Another app is currently holding the yum lock; waiting for it to exit..

因为你已经有yum命令在进程里执行所以会出行以上错误结局方案就是强行解锁yum进程

rm -rf /var/run/yum.pid 然后就可以正常使用你的yum了
(6)
分享:

本文由:xiaoshu168 作者:xiaoshu发表,转载请注明来源!

标签:

相关阅读