国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

幫助中心 >  技術(shù)知識庫 >  云服務(wù)器 >  服務(wù)器教程 >  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 875

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

 

藍隊云小課堂:

問(wèn)題描述:

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命令即可

原因:

可能是系統自動(dòng)升級正在運行,yum在鎖定狀態(tài)中,要等待那個(gè)進(jìn)程結束退出:

看報錯的那一段話(huà):

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

你可以看一下是否有yum進(jìn)程

ps aux|grep yum

image.png

更多小知識,可聯(lián)系藍隊云一起探討。


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

這條文檔是否有幫助解決問(wèn)題?

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

在文檔使用中是否遇到以下問(wèn)題:
-->