yum update时候出现Another app is currently holding the yum lock, waiting for it to exit...解决方法

阳光穿透心脏的1/2处 2023-10-17 10:41 131阅读 0赞

[root@master-hadoop hadoop]# yum install gcc*

发生异常:

it to exit…
The other application is: yum
Memory : 63 M RSS (358 MB VSZ)
Started: Sat Feb 18 11:56:42 2017 - 44:10 ago
State : Sleeping, pid: 3038
Another app is currently holding the yum lock; waiting for

查看 /var/run/yum.pid,只是一个数,其他的 可能是系统自动升级正在运行,所以yum被锁定了。

[root@master-hadoop hadoop]# rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了。

发表评论

表情:
评论列表 (有 0 条评论,131人围观)

还没有评论,来说两句吧...

相关阅读