Centos Another app is currently holding the yum lock
生活随笔
收集整理的這篇文章主要介紹了
Centos Another app is currently holding the yum lock
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
yum命令用ctrl+z命令中斷后,再運(yùn)行yum時(shí),出現(xiàn):
Existing lock /var/run/yum.pid: another copy is running as pid 3046. Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit...解決方案:
rm -f /var/run/yum.pid/sbin/service yum-updatesd restartStopping yum-updatesd: [ OK ] Starting yum-updatesd: [ OK ]? ?yum-updatesd上系統(tǒng)自帶的一個(gè)提供系統(tǒng)更新的服務(wù),安裝文件也叫做yum-updatesd,這個(gè)服務(wù)默認(rèn)是自動(dòng)啟動(dòng)的(init 5),因?yàn)橄到y(tǒng)只允許一個(gè)更新進(jìn)程在運(yùn)行,所以他運(yùn)行的時(shí)候會(huì)自動(dòng)給yum加鎖,這就導(dǎo)致了開機(jī)后不能手動(dòng)進(jìn)行yum了。
?
轉(zhuǎn)載于:https://www.cnblogs.com/lzxianren/p/4254059.html
總結(jié)
以上是生活随笔為你收集整理的Centos Another app is currently holding the yum lock的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 寒假训练1解题报告
- 下一篇: Centos7.X通过rpm包安装Doc