yum命令用ctrl+z命令中断后,再运行yum时,出现:
Existing lock /var/run/yum.pid: anothercopyis running as pid 3046.
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
NND,说我正在使用yum。输入
rm-f /var/run/yum.pid
/sbin/serviceyum-updatesd restart
Stoppingyum-updatesd: [ OK ]
Startingyum-updatesd: [ OK ]
好了,一切正常了
文章出处http://www.360doc.com/content/11/0211/16/4171006_92183173.shtml
原文链接:https://www.f2er.com/centos/379973.html