centos在yum install報錯:Another app is currently holding the yum lock解決方法


centos在yum install報錯:Another app is currently holding the yum lock,這個問題可能是很多的新手經常遇到問題,之前也有人問我,包括本人在剛剛學習centos的時候也遇到過。

Another app is currently holding the yum lock,這個意思很明顯就是說,有另外一個應用在使用yum,被占用鎖定了,所以咋辦呢,直接結束掉唄。

可以通過強制關掉yum進程:

# rm -f /var/run/yum.pid

然后就可以使用yum了。OK,很簡單。

來源:http://www.jincon.com,轉載請附上出處哦。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM