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

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

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

能够经过强制关掉yum进程:学习

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

而后就能够使用yum了。OK,很简单。spa

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

相关文章
相关标签/搜索