yum lock 解决方法

方法一:

# ps aux | grep yum

# kill -9 pid


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

 

解释: 

[root@localhost wangcheng]# yum list

Existing lock /var/run/yum.pid: another copy is running as pid 3807.

Another app is currently holding the yum lock; waiting for it to exit...

字面意思是说另外一个程序给yum加了锁,要等到 该 程序退出以后才可以进行。

 

转自: http://huyuedong.blog.51cto.com/4705586/907438

posted @ 2016-04-28 15:47  圆旭  阅读(3085)  评论(0编辑  收藏  举报