yum 时候出现Another app is currently holding the yum lock解决方法

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum 时候出现Another app is currently holding the yum lock解决方法相关的知识,希望对你有一定的参考价值。

在centos系统中,YUM安装软件包,出现如下问题解决方法:

技术分享

 /var/run/yum.pid我打开看了,只是一个数,其他的 可能是系统自动升级正在运行,所以yum被锁定了。 
 可以通过执行
 rm -rf /var/run/yum.pid 
 来强行解除锁定,然后你的yum就可以运行了。

本文出自 “小菜鸟” 博客,请务必保留此出处http://baishuchao.blog.51cto.com/12918589/1932170

以上是关于yum 时候出现Another app is currently holding the yum lock解决方法的主要内容,如果未能解决你的问题,请参考以下文章

yum 报错:Another app is currently holding the yum lock; waiting for it to exit

yum 报错:Another app is currently holding the yum lock; waiting for it to exit

another app is currently hold yum lock问题

[Linux/CENTOS]YUM提示: Another app is currently holding the yum lock; waiting for it to exit...

Another app is currently holding the yum lock; waiting for it to exit...

yum被lock Existing lock /var/run/yum.pid: another copy is running as pid 1580. Another app is current