报错如下:
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源有问题,重新换一个源文件就可以了.
本文出自 “小V运维之路” 博客,请务必保留此出处http://victor2016.blog.51cto.com/6768693/1963101
原文:http://victor2016.blog.51cto.com/6768693/1963101