Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 121 M RSS (527 MB VSZ)
Started: Tue May 29 23:20:45 2018 - 1:01:54 ago
The other application is: PackageKit
Memory : 121 M RSS (527 MB VSZ)
Started: Tue May 29 23:20:45 2018 - 1:01:54 ago
State : Sleeping, pid: 12270
可能是系统自动升级正在运行,yum在锁定状态中。
可以通过强制关掉yum进程:
#rm -f /var/run/yum.pid
- 1
然后就可以使用yum了。