码迷,mamicode.com
首页 > 系统相关 > 详细

linux 解决问题

时间:2017-08-05 22:52:30      阅读:281      评论:0      收藏:0      [点我收藏+]

标签:host   csdn   ftp   error:   http   mirror   lease   find   var   

报错:

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
[root@localhost 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)

linux 解决问题

标签:host   csdn   ftp   error:   http   mirror   lease   find   var   

原文地址:http://www.cnblogs.com/1024ToAdmin/p/7291656.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!