Another app is currently holding the yum lock; waiting for it to exit... 怎么解决

时间:2024-05-23 09:03:08

Another app is currently holding the yum lock; waiting for it to exit... 怎么解决

  • 这个问题说明你的程序yum程序正在运行,必须使用rm -f/var/run/yum.pid这个命令干掉他,就行了。

    出错界面如下:

    Another app is currently holding the yum lock; waiting for it to exit... 怎么解决

    下面我们使用

    rm -f/var/run/yum.pid

    命令强制性的关闭yum进程,效果图如下:

    Another app is currently holding the yum lock; waiting for it to exit... 怎么解决

    然后我们就可以使用yum程序安装软件了,安装个vsftpd试一试,命令:

    yum install vsftpd

    效果图如下:

    Another app is currently holding the yum lock; waiting for it to exit... 怎么解决

    这样问题就成解决了。
    ------------------------怪叔叔的那点事-UncleFreak----------------------
    -----------------------QQ:2206691630----------------------
    ---------------------博客地址:blog.z88j.com-----------------