centos在yum install报错:Another app is currently holding the yum lock解决方法

centos在yum install报错:Another app is currently holding the yum lock,这个问题可能是很多的新手经常遇到问题,之前也有人问我,包括本人在刚刚学习centos的时候也遇到过。

Another app is currently holding the yum lock,这个意思很明显就是说,有另外一个应用在使用yum,被占用锁定了,所以咋办呢,直接结束掉呗。

可以通过强制关掉yum进程:

# rm -f /var/run/yum.pid

然后就可以使用yum了。OK,很简单。

来源:http://www.jincon.com,转载请附上出处哦。

posted @ 2013-10-16 08:46  小寒子  阅读(3745)  评论(1编辑  收藏  举报