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

相关文章:

  • 2022-12-23
  • 2021-06-21
  • 2021-08-16
  • 2021-07-01
  • 2021-05-22
  • 2022-12-23
  • 2021-07-07
猜你喜欢
  • 2021-07-16
  • 2021-12-20
  • 2022-02-17
  • 2022-01-03
  • 2021-11-15
  • 2021-05-01
相关资源
相似解决方案