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...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
解决:
来强行解除锁定,然后你的yum就可以运行了



[root@node3 ~]# rm -rf /var/run/yum.pid