当前位置: > CentOS > CentOS故障 >

Centos Another app is currently holding the yum lock

时间:2015-12-16 12:47来源:linux.it.net.cn 作者:IT
yum命令用ctrl+z命令中断后,再运行yum时,出现:

Existing lock /var/run/yum.pid: another copy is running as pid 3046.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
NND,说我正在使用yum。输入

rm -f /var/run/yum.pid

/sbin/service yum-updatesd restart

Stopping yum-updatesd:                                     [ OK ]
Starting yum-updatesd:                                     [ OK ]
好了,一切正常了 (责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容