yum提示Another app is currently holding the yum lock; waitin

使用yum安装计划任务功能,结果提示:

# yum -y install vixie-cronLoaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/pid 25960.Another app …

可能是系统自动升级正在运行,yum在锁定状态中。 已经有一个yum进程在运行了,使用kill干掉它:

# kill -s 9 25960# ps aux|grep yumrootpts/1 S+ 14:59 0:00 grep yumroot? Z Sep19 0:01 [yumBackend.py] <defunct>

很遗憾,,kill对付不了它,那怎么办呢?

可以通过强制关掉yum进程:

#rm -f /var/run/yum.pid

然后就可以使用yum了。

没有行囊,没有目的,我孤独的走在路上,

yum提示Another app is currently holding the yum lock; waitin

相关文章:

你感兴趣的文章:

标签云: