首页 > 系统相关> > linux 中yum命令提示Another app is currently holding the yum lock; waiting for it to exit... 已解决
linux 中yum命令提示Another app is currently holding the yum lock; waiting for it to exit... 已解决
作者:互联网
背景:使用yum erase 进行卸载任务,
页面提示:Another app is currently holding the yum lock; waiting for it to exit...
分析:已经有了一个yum进程在运行,所以yum在锁定状态中。(使用kill去干掉,无法干掉)
方法:强制干掉yum进程:rm -f /var/run/yum.pid(解决后,yum命令可正常使用)
标签:...,lock,app,currently,waiting,yum,holding,干掉 来源: https://www.cnblogs.com/wuya666/p/12899412.html