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

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

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

2024-04-21 09:59:36 5165

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

 

藍(lán)隊(duì)云小課堂:

問題描述:

Linux系統(tǒng)中使用到yum命令報(bào)錯(cuò):

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

然后重新運(yùn)行剛才的yum命令即可

原因:

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

看報(bào)錯(cuò)的那一段話:

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

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

ps aux|grep yum

image.png

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


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

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

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

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