yum 报错:Another app is currently

2020-06-21  本文已影响0人  东东锵

开发过程中需要用到 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

记录下---

上一篇 下一篇

猜你喜欢

热点阅读