erobar 发表于 2018-02-13 18:32

rhel6修改163源, 报错404

首先我搜了一圈 ,rhel6 修改yum源为163的方法 , 但是都是报错error 404

简单点的比如这个
http://www.cnblogs.com/dadong616/p/5586697.html

我采用的是配置163yum的方法 ,然后我的repo文件是这么配置的

# cat 163.repo

name=163
baseurl=http://mirrors.163.com/centos/6/os/x86_64/Packages/
gpgcheck=0
enabled=1


http://mirrors.163.com/centos/6/os/x86_64/Packages/
这个地址是有效的, 可以使用web打开 , 但是我在使用yum的时候, 冒错如下:

# yum install telnet
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
http://mirrors.163.com/centos/6/os/x86_64/Packages/repodata/repomd.xml: HTTP Error 404 : http://mirrors.163.com/centos/6/os/x86_64/Packages/repodata/repomd.xml
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

确实http://mirrors.163.com/centos/6/os/x86_64/Packages/repodata/repomd.xml 这个文件是打不开, 但也不是我配错, 而是就没有repodata/repomd.xml
那么这个问题要如何解决, 或者有没有能修改aliyum源的方法

希望能有行之有效的, 解决方法, 错误的原因时候因为对方没有这个文件 ,而且我看了下, 对应网站上也没有这个文件
百度了一圈, 我看很多都是抄来抄去,没有真正实践过

Hongqiyaodao 发表于 2018-03-09 18:09

页: [1]
查看完整版本: rhel6修改163源, 报错404