配置163 yum源 报错:HTTP Error 404
配置163 yum源 报错:HTTP Error 404
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
执行 yum clean all 命令时报错:
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://mirrors.aliyun.com/centos/7Server/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
解决办法:
将其中的 $releasever 全改为7
再执行yum源更新命令
yum clean all
yum makecache
yum update
浙公网安备 33010602011771号