centos无法使用yun,
错误提示:
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/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
--------------分割线----------------------------
在网上找各种解决方案,都是网络没连上,DNS有问题之类的。修改之后问题依旧且越来越复杂化。
直到找到一篇帖子提到centos 5所有资源已经移至vault.centos.org里面。然后我进去vault.centos.org里面,发现只有vault.centos.org/5.11可用。所以修改、etc/yum.repos.d/CentOS-Base.repo,变成下面的模式:
[base]
name=CentOS-