Another app is currently holding the yum lock解決方法

用yum安裝包有時(shí)候會(huì)提示

```

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

? The other application is: PackageKit

??? Memory : 128 M RSS (439 MB VSZ)

??? Started: Fri Aug 28 08:08:31 2015 - 48:25 ago

??? State? : Sleeping, pid: 3462

```

解決方法:

```

rm -f /var/run/yum.pid

```

然后重新執(zhí)行yum就可以了

永久禁止該錯(cuò)誤

```

[root@oracle pluginconf.d]# cd /etc/yum/pluginconf.d/

[root@oracle pluginconf.d]# ls

product-id.conf? refresh-packagekit.conf? rhnplugin.conf? security.conf? subscription-manager.conf

[root@oracle pluginconf.d]# vim refresh-packagekit.conf

[main]

enabled=0? --將原來的1改成0即可

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容