在CnetOs虚拟机下的Linux执行yum install lrzsz 命令报错:
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
解决办法:
rm -f /var/run/yum.pid
/sbin/service yum-updatesd restart
接着会显示:
Stopping yum-updatesd: [ OK ]
Starting yum-updatesd: [ OK ]
另外有人说用/sbin/service yum-updatesd stop 也不管用,原因是你禁止了update但是系统启动的时候还是会有这个进程。
本文介绍了解决在CentOs虚拟机下使用yum安装lrzsz命令时报错的方法。通过删除yum的锁文件并重启yum-updatesd服务来解决Another app is currently holding the yum lock的问题。

被折叠的 条评论
为什么被折叠?



