centos 下yum lock的解决办法

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

 

posted @ 2017-06-01 16:31  actually96  阅读(281)  评论(0编辑  收藏  举报