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

Posted dearQiHao

tags:

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

开发过程中需要用到 yum 命令 有时候执行 yum 会报错如下

原因分析 :yum只能支持一个例程运行,如果有一个例程已经在运行,其他的必须等待该进程退出释放lock。出现这种情况时,
可以用以下命令来恢复:

rm -f /var/run/9259

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