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

今天使用yum进行下载的时候报错

Another app is currently holding the yum lock; waiting for it to exit..._第1张图片

解决办法:

执行

rm -f /var/run/yum.pid

然后重新运行yum指令即可,发现已经可以正常下载啦!

Another app is currently holding the yum lock; waiting for it to exit..._第2张图片

你可能感兴趣的:(linux,centos,运维)