linux中yum被占用的解决办法

Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 23 M RSS (414 MB VSZ)
Started: Tue Mar 12 08:44:00 2019 - 1:20:21 ago
State : Traced/Stopped, pid: 8894

这时候其实是yum锁,就是你的yum被占用了

解决办法是干掉缓存中的yum进程,重启yum。

清掉缓存中的进程:

rm -f /var/run/yum.pid

重启yum:

系统是fedora

systemctl status yum-updatesd.service

centos用户使用:

/sbin/service yum-updatesd restart
发布了75 篇原创文章 · 获赞 5 · 访问量 2509

猜你喜欢

转载自blog.csdn.net/qq_44273583/article/details/105007914
今日推荐