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

记录下---

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。