yum因被锁定导致无法执行相关操作的解决方法

NOCO发布于 来源 原文链接

30天前 有1个用户阅读过

执行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...
  The other application is: yum
    Memory :  40 M RSS ( 50 MB VSZ)
    Started: Thu Jul 19 01:59:25 2012 - 03:45 ago
    State  : Uninteruptable, pid: 903

解决方案:

rm -rf /var/run/yum.pid

SSH执行以上命令,删除yum.pid强行解除锁定即可。

-- The End --

本文标题: yum因被锁定导致无法执行相关操作的解决方法

本文地址: https://seonoco.com/blog/centos-yum-lock

原文地址: http://www.kwx.gd/Related/CentOS-Yum-lock.html

本文是否有所帮助?
点赞 0
感谢支持
0
多谢反馈
评论 0
打赏

支持微信/支付宝

评论

网友