Centos:Another app is currently holding the yum lock; waiting for it to exit...

Another app is currently holding the yum lock; waiting for it to exit...
  另一个应用程序是:PackageKit
    内存: 27 M RSS (1.4 GB VSZ)
    已启动: Sat Oct  8 10:49:10 2016 - 01:35之前
    状态  :睡眠中,进程ID:2637
Another app is currently holding the yum lock; waiting for it to exit...
  另一个应用程序是:PackageKit
    内存: 27 M RSS (1.4 GB VSZ)
    已启动: Sat Oct  8 10:49:10 2016 - 01:37之前
    状态  :睡眠中,进程ID:2637
Another app is currently holding the yum lock; waiting for it to exit...
  另一个应用程序是:PackageKit
    内存: 27 M RSS (1.4 GB VSZ)
    已启动: Sat Oct  8 10:49:10 2016 - 01:39之前
    状态  :睡眠中,进程ID:2637

解决方法:

rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了
posted @ 2016-10-08 10:53 _DN 阅读(...) 评论(...) 编辑 收藏