yum問題 Another app is currently holding the yum lock; waiting for

[root@hadoopwork3 SPECS]# yum install ruby


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...
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...


這是什麼原因?
/var/run/yum.pid我打開看了,只是一個數,其他的






可能是系統自動升級正在運行,所以yum被鎖定了。
可以通過執行rm -rf /var/run/yum.pid 來強行解除鎖定,然後你的yum就可以運行了。

這是什麼原因?
/var/run/yum.pid我打開看了,只是一個數,其他的



Cannot retrieve metalink for repository: fedora. Please verify its path and try again 解決方法


執行如下命令:

su -c “sed -i ‘s|^#baseurl|baseurl| ; s|^mirrorlist|#mirrorlist|’ /etc/yum.repos.d/*”


發佈了25 篇原創文章 · 獲贊 3 · 訪問量 23萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章