使用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
也可以等更新完了再进行安装
yum 出现Existing lock /var/run/yum.pid: another copy is running as pid:3355
时间: 2024-11-11 02:54:07