以下の内容はhttps://yohei-a.hatenablog.jp/entry/20141002/1412211060より取得しました。


yum update したら"Another app is currently holding the yum lock; waiting for it to exit..."と怒られる

事象

  • yum でパッケージを update しようとすると、以下のメッセージが出力される。
# yum update jre
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 する。
# ps -elf|grep yum
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
# kill 3982



以上の内容はhttps://yohei-a.hatenablog.jp/entry/20141002/1412211060より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14