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

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

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  48 M RSS (443 MB VSZ)
    Started: Thu Mar 26 09:47:03 2020 - 00:23 ago
    State  : Running, pid: *****

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

rm -f /var/run/yum.pid

记录下—

猜你喜欢

转载自blog.csdn.net/weixin_37178320/article/details/105066875