使用yum命令时,出现:
Existing lock /var/run/yum.pid: another copy is running as pid:3355.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-updatesd-he
……
主要原因就是yum在自动更新 只要关掉他就可以了
解决方案:
直接输入 rm -f /var/run/yum.pid
或者: /etc/init.d/yum-updatesd stop或者: /sbin/service yum-updatesd restart