linux -小记(2)问题:yum 安装报错"Another app is currently holding the yum lock; waiting for it to exit... ...: yum Memory : 26 M RSS (868 MB VSZ) Started: Wed Oct 26 22:48:24 2016

yum 安装报错

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

The other application is: PackageKit
Memory : 153 M RSS (266 MB VSZ)
Started: Thu Jul 12 00:03:05 2012 - 06:17 ago
State : Sleeping, pid: 4018
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 153 M RSS (266 MB VSZ)
Started: Thu Jul 12 00:03:05 2012 - 06:19 ago
State : Sleeping, pid: 4018

解决方案:

强制关闭yum进程。

rm -rf /var/run/yum.pid 来强行解除锁定,yum即可正常使用

原文地址:https://www.cnblogs.com/wylhome/p/6012351.html