报错:
yum 报错。
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
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/addons/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: addons
[[email protected] bin]# yum search libaio
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
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/addons/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: addons
解决方法:
解决方法:
1.
http://blog.csdn.net/justblues/article/details/38582139
2.
http://www.cnblogs.com/kevingrace/p/6252659.html
3.(不知道起作用没)
修改dns (8.8.8.8和8.8.4.4)