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,转载请附上出处哦。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM