• 欢迎访问水熊虫网站,这里是我个人的工作博客,内容大多是遇到问题完善后,会在这里进行总结归纳内容! QQ群
  • 网站导航中的友情链接专栏上线,更新的都是自己这三年整理的一些东西,感兴趣可以看看!
  • 你所浪费的今天,是昨天死去的人奢望的明天。你所厌恶的现在,是未来的你回不去的曾经!

Another app is currently holding the yum lock 解决方法

云主机问题 WaterBear 4年前 (2020-07-25) 814次浏览 已收录 扫描二维码

方法一:

# ps aux | grep yum

# kill -9 pid

方法二:

可以通过执行rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了

 

解释: 

[root@localhost wangcheng]# yum list

Existing lock /var/run/yum.pid: another copy is running as pid 3807.

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

字面意思是说另外一个程序给yum加了锁,要等到该程序退出以后才可以进行。


WaterBear , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Another app is currently holding the yum lock 解决方法
喜欢 (0)
[[email protected]]
分享 (0)