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

已解决!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值