linux 解决问题

报错:

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,

可能yum源出现问题,换个yum源即可
http://www.cnblogs.com/kevingrace/p/6252659.html

posted on 2017-08-05 21:48  少年不负韶华  阅读(334)  评论(0)    收藏  举报

导航