yum 出现Existing lock /var/run/yum.pid: another copy is running as pid:3355

来源:互联网 发布:九游软件下载 编辑:程序博客网 时间:2024/04/28 17:46

 使用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
也可以等更新完了再进行安装

 

转自:http://qianerfei.blog.163.com/blog/static/1150087752010627119400/

原创粉丝点击