久久青草精品A片狠狠,日韩欧美视频一区二区,亚洲国码AV日韩,国产精品黄在

幫助中心 >  技術知識庫 >  云服務器 >  服務器教程 >  Linux執行yum安裝提示Another app is currently holding the yum lock; waiting for it to exit.

Linux執行yum安裝提示Another app is currently holding the yum lock; waiting for it to exit.

2024-04-21 09:59:36 4196

Linux執行yum安裝提示Another app is currently holding the yum lockwaiting for it to exit.

 

藍隊云小課堂:

問題描述:

Linux系統中使用到yum命令報錯:

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

The other application is: yum     

Memory :  28 M RSS (772 MB VSZ)     

Started: Sat Apr 13 14:11:00 2024 - 02:18 ago     

State  : Sleeping, pid: 29635

解決辦法:

輸入:

rm -f /var/run/yum.pid

然后重新運行剛才的yum命令即可

原因:

可能是系統自動升級正在運行,yum在鎖定狀態中,要等待那個進程結束退出:

看報錯的那一段話:

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

你可以看一下是否有yum進程

ps aux|grep yum

image.png

更多小知識,可聯系藍隊云一起探討。


提交成功!非常感謝您的反饋,我們會繼續努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務,我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: