Linux运行yum install报错

        在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但是系统启动的时候还是会有这个进程。

猜你喜欢

转载自cwfmaker.iteye.com/blog/1130537
今日推荐