Solve the problem of Another app is currently holding the yum lock; waiting for it to exit in yum installation

If it appears when installing with yum: Another app is currently holding the yum lock; waiting for it to exit...
Insert picture description here
At this time, see the following to solve this problem:

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

OK this will be solved

Guess you like

Origin blog.csdn.net/weixin_45849066/article/details/112228861
yum
Recommended