YumRepo Error: All mirror URLs are not using ftp, http[s] orfile. Eg. $releasever is not a valid release or hasntbeen released yet/ removing mirrorlist with no valid mirrors:/var/cache/yum/base/mirrorlist.txt Error: Cannot retrieve repository metadata (repomd.xml) forrepository: base. Please verify its path and try again
从字面意思是看是不能正确连接到http或是ftp的真实地址上。
1.有可能是防火墙阻碍了出网http请求或是ftp请求,请检查网关防火墙。
2.有可能是dns不对,无法正常解析,换成8.8.4.4
3.系统取不到Release号
我这里碰到真正的原因是就是3,系统读取不到Release号。
正常一般可以看到版本号
# lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.2 (Final) Release: 6.2 Codename: Final
YumRepo Error: All mirror URLs are not using问题解决(2013-01-24 02:55:57)转载▼标签:yumrepoerrormirror问题解决分类:工作今天帮同事搭建环境时碰到yum更新出问题了,报如下错误:YumRepo Error: All mirror UR