linux入门--debug--YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

错误信息:

[root@hadoop1 home]# yum install tree
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
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/x86_64/6/base/mirrorlist.txt
错误:Cannot find a valid baseurl for repo: base

尝试:
转置:https://blog.csdn.net/qq_39946015/article/details/111086184

又出现错误信息:

[root@hadoop1 home]# yum install tree
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
Loading mirror speeds from cached hostfile
https://mirrors.tuna.tsinghua.edu.cn/centos-vault/6.8/updates/x86_64/repodata/c12712fc6909b49328778a49b3311652fb267c1bbfdfe3b71bf6f18d581e7d4a-primary.sqlite.bz2: [Errno 12] Timeout on https://mirrors.tuna.tsinghua.edu.cn/centos-vault/6.8/updates/x86_64/repodata/c12712fc6909b49328778a49b3311652fb267c1bbfdfe3b71bf6f18d581e7d4a-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
尝试其他镜像。
错误:failure: repodata/c12712fc6909b49328778a49b3311652fb267c1bbfdfe3b71bf6f18d581e7d4a-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

解决方法:
转置:https://www.cnblogs.com/pistachio123/p/14301949.html

已解决!

上一篇:官方源、镜像源汇总


下一篇:maven repository