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

Posted 千里走单琦

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Another app is currently holding the yum lock; waiting for it to exit...相关的知识,希望对你有一定的参考价值。

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

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

 

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

[root@f16 wwwroot]# ps aux|grep yum
root 3251 0.0 0.2 1398008 21840 pts/0 T Jun29 0:00 /usr/bin/python /usr/bin/yum install -y vim
root 17139 0.0 0.2 307712 19064 pts/0 T 10:44 0:00 /usr/bin/python /usr/bin/yum -y install lrzsz
root 17156 0.0 0.0 103168 692 pts/0 D+ 10:48 0:00 grep yum

[root@f16 wwwroot]# kill -s 9 3251

 

如果,kill对付不了它,那怎么办呢?

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

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

然后就可以使用yum了。

 

以上是关于Another app is currently holding the yum lock; waiting for it to exit...的主要内容,如果未能解决你的问题,请参考以下文章

[yum]Another app is currently holding the yum lock

yum提示Another app is currently holding the yum lock

yum提示Another app is currently holding the yum lock

another app is currently hold yum lock问题

yum提示another app is currently holding the yum lock;waiting for it to exit

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