张二狗

修改Yum源
晚上准备给刚入的黑五优惠小鸡上个BT,发现wget出错YUM一下,安装wget,结果报错[[email protected] ...
扫描右侧二维码阅读全文
26
2018/10

修改Yum源

晚上准备给刚入的黑五优惠小鸡上个BT,发现wget出错
YUM一下,安装wget,结果报错

[[email protected] ~]# yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_pro.sh && sh install.sh
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
base: centos.netonboard.com
extras: centos.netonboard.com
* updates: centos.netonboard.com
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

Emmmm,是系统yum源的问题了
cd /etc
cd yum.repos.d/
ls
找到了,就是它,CentOS-Base.repo,VI大法,瞧瞧看去
TIM截图20181026215020.png

Biu的一下改成163源哇
TIM截图20181026215201.png

测试一下,把wget安装上去
TIM截图20181026215337.png

Biu,Biu,Biu,安装成功了

Last modification:October 29th, 2018 at 10:29 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment