yum提示Another app is currently holding the yum lock; waiting for it to exit...
1.使用yum安装计划任务提示:
# yum -y install vixie-cron Loaded plugins: fastestmirror, refresh-packagekit, security Existing lock /var/run/yum.pid: another copy is running as pid 25960. Another app is currently holding the yum lock; waiting for it to exit...
可能是系统自动升级正在运行,yum在锁定状态中。
2.通过强制关掉yum进程:
#rm -f /var/run/yum.pid
然后就可以使用yum了。

浙公网安备 33010602011771号