yum因被锁定导致无法执行相关操作的解决方法

说明:执行yum命令时,提示“Another app is currently holding the yum lock; waiting for it to exit...”等错误字样。这是因...

bysem (22)

说明:执行yum命令时,提示“Another app is currently holding the yum lock; waiting for it to exit...”等错误字样。这是因为yum被锁定无法使用导致的。

方法:

rm -rf /var/run/yum.pid   #删除yum.pid强行解除锁定即可
0 I like it
0 I don't like it

Leave a Reply

Your email address will not be published. Required fields are marked *