Linux yum错误解决方法


今天在linux中使用yum时出现如下错误:

Loaded plugins: fastestmirror, security

Existing lock /var/run/yum.pid: another copy is running as pid 4733.

Another app is currently holding the yum lock; waiting for it to exit...

The other application is: yum-updatesd-he

Memory :  22 M RSS (249 MB VSZ)

Started: Fri Jul  6 12:18:29 2012 - 53:47 ago

State  : Sleeping, pid: 4733

关机重启后也没有解决,后尝试删除yum.pid文件,并重启yum服务后OK,具体命令如下:

rm -rf /var/run/yum.pid

/sbin/service yum-updatesd restart

推荐阅读:

RedHat Linux 本地yum源的配置

RedHat 6.2 Linux修改yum源免费使用CentOS源

配置EPEL YUM源

Redhat 本地yum源配置

yum的配置文件说明

RedHat 6.1下安装yum(图文)

YUM 安装及清理

相关内容