centos在yum install報錯:Another app is currently holding the yum lock,這個問題多是不少的新手常常遇到問題,以前也有人問我,包括本人在剛剛學習centos的時候也遇到過。centos
Another app is currently holding the yum lock,這個意思很明顯就是說,有另一個應用在使用yum,被佔用鎖定了,因此咋辦呢,直接結束掉唄。app
能夠經過強制關掉yum進程:學習
# rm -f /var/run/yum.pid
而後就能夠使用yum了。OK,很簡單。spa
來源:http://www.jincon.com,轉載請附上出處哦。code