yum update プラグインエラー?
yumを使おうとすると以下のようなおかしなエラーが発生
# yum install heartbeat Loaded plugins: fastestmirror Existing lock /var/run/yum.pid: another copy is running as pid 7592. Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum-updatesd-he Memory : 15 M RSS ( 28 MB VSZ) Started: Mon Sep 27 15:04:02 2010 - 2:47:03 ago State : Sleeping, pid: 7592
Fedora Core 6でyumが実行できない場合は − @ITに従い、下記を実行
# ps x | grep yum 4024 ? SN 0:00 /usr/bin/python -tt /usr/sbin/yum-updatesd 7592 ? SN 0:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus 12234 pts/2 S+ 0:00 grep yum # kill 4024 # ps x | grep yum 7592 ? SN 0:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus 12556 pts/2 R+ 0:00 grep yum # service yum-updatesd stop yum-updates を停止中: [失敗] # chkconfig yum-updatesd off # chkconfig --list yum-updatesd yum-updatesd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ところが下記のように再び同じエラーが出るので、4024(yum-updatesd)だけでなく、7592(yum-updatesd-helper)もkillする必要があるらしい
# yum install heartbeat Loaded plugins: fastestmirror Existing lock /var/run/yum.pid: another copy is running as pid 7592. Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum-updatesd-he Memory : 15 M RSS ( 28 MB VSZ) Started: Mon Sep 27 15:04:02 2010 - 2:57:08 ago State : Sleeping, pid: 7592 Exiting on user cancel. # kill 7592 # ps x | grep yum 12644 pts/2 R+ 0:00 grep yum # yum install heartbeat