- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業(yè)務(wù)經(jīng)營(yíng)許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯(lián)網(wǎng)協(xié)會(huì )理事單位
- 安全聯(lián)盟認證網(wǎng)站身份V標記
- 域名注冊服務(wù)機構許可:滇D3-20230001
- 代理域名注冊服務(wù)機構:新網(wǎng)數碼
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
更多小知識,可聯(lián)系藍隊云一起探討。
售前咨詢(xún)
售后咨詢(xún)
備案咨詢(xún)
二維碼
TOP