報錯如下:
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/extras/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: extras
使用lsb_release -a檢視
解決方法:是repo源有問題,重新換一個源檔案就可以了.
本文轉自chenzudao51CTO部落格,原文連結:http://blog.51cto.com/victor2016/1963101 ,如需轉載請自行聯系原作者