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

yum被锁定无法使用,错误信息截图如下:

解决方法:
rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了

原文地址:https://www.cnblogs.com/zwl715/p/3642197.html