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...
说我正在使用yum。输入
rm -f /var/run/yum.pid
/sbin/service yum-updatesd restart
Stopping yum-updatesd: [ OK ]
Starting yum-updatesd: [ OK ]
好了,一切正常了