[Yum] Yum unable to install while yum-updatesd running

Donald Murray, P.Eng. donaldm314 at gmail.com
Wed Dec 5 18:37:31 UTC 2007


Back in the old days, when periodic yum updates where a cron-job,
I was able to issue 'yum install ...' or 'yum update ...' commands
with impunity.

I'm running CentOS 5.1 and seeing the following:
[root at dmurray ~]# yum install perl-Date-Manip
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.
[root at dmurray ~]# echo $( cat /var/run/yum.pid )
16744
[root at dmurray ~]# service yum-updatesd status
yum-updatesd (pid 16744) is running...
[root at dmurray ~]# rpm -q yum yum-updatesd
yum-3.0.5-1.el5.centos.5
yum-updatesd-3.0.5-1.el5.centos.5
[root at dmurray ~]#

If I merely _restart_ yum-updatesd, I can then immediately
do a 'yum ...' command as desired.

What's the idiomatic way to update or install via yum, while
yum-updatesd is running?

Thanks!



More information about the Yum mailing list