事象
- yum でパッケージを update しようとすると、以下のメッセージが出力される。
Loaded plugins: security
Existing lock /var/run/yum.pid: another copy is running as pid 3982.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 209 M RSS (515 MB VSZ)
Started: Thu Oct 2 09:28:57 2014 - 10:11 ago
State : Sleeping, pid: 3982
対処方法
- yum lock を確保しているプロセスを kill する。
0 S root 3982 3625 3 80 0 - 131821 poll_s 09:28 ? 00:00:22 /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py get-updates none
0 S root 4589 4470 0 80 0 - 25825 pipe_w 09:40 pts/1 00:00:00 grep yum