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