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

可能是系统自动升级正在运行,yum在锁定状态中。
可以通过强制关掉yum进程:
#rm -f /var/run/yum.pid
然后就可以使用yum了

猜你喜欢

转载自arenzhj.iteye.com/blog/2202057