Centos Another app is currently holding the yum lock

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 ]

好了,一切正常了

猜你喜欢

转载自hao3721.iteye.com/blog/781179
今日推荐