centos 下yum lock的解决办法

来源:互联网 发布:好学近乎知 pdg 编辑:程序博客网 时间:2024/05/21 23:33

centos 下yum lock的解决办法

centos7下yum install的时候,报了一堆错误,如下:


Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  38 M RSS ( 37 MB VSZ)
    Started:Sta Jul 24 16:28:58 2010 - 1:37:07 ago
    State  : Sleeping, pid: 13020


解决办法:
rm -f /var/run/yum.pid