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,很简单。

Comments are closed.

Post Navigation