美文网首页
centos使用yum报错提示lock的解决方法

centos使用yum报错提示lock的解决方法

作者: i宁静的鱼 | 来源:发表于2020-05-04 22:56 被阅读0次

    使用yum命令时报错:
    Existing lock /var/run/yum.pid.
    Another app is currently holding the yum lock; waiting for it to exit...
    The other application is: yum
    解决方法:
    删除yum的pid文件

    rm -f /var/run/yum.pid

    然后就可以正常使用yum命令了

    相关文章

      网友评论

          本文标题:centos使用yum报错提示lock的解决方法

          本文链接:https://www.haomeiwen.com/subject/mqiughtx.html