日期:2014-05-16 浏览次数:20912 次
?????? ?在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但是系统启动的时候还是会有这个进程。