yum命令遇到holding 的lock程式 解決辦法

mahanso發表於2010-12-13
        今天在CentOS下安裝oracle,rmp包時候遇到問題:

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

解決辦法:
1、檢視:ps -ef | grep yum

root      3160     1  0 14:47 ?        00:00:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
root      3340  3160  0 14:47 ?        00:00:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus
root      3458  3374  0 14:56 pts/1    00:00:00 grep yum

2、kill 3160  3340  (kill 掉相關程式,多個程式用“空格分隔”)

再次執行yum命令即可

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12272958/viewspace-681615/,如需轉載,請註明出處,否則將追究法律責任。

相關文章