引用:http://centos.ustc.edu.cn/centos/5.0/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: update
原因:在http://centos.ustc.edu.cn/centos/5.0/readme中这么说:
......
you should use /5/ and not /5.0/ in your path....
......
解决方法:
在所有后缀名为repo的文件中,比如CentOS-Base.repo,或者edu.repo(也可能没有这个文件)
所有出现5.0的地方都改为5,比如将
http://centos.ustc.edu.cn/centos/5.0/contrib/$basearch/
改为:
http://centos.ustc.edu.cn/centos/5/contrib/$basearch/
修改环境:CentOS 5
修改时间:2008-01-13


Fromlung 于 2008-01-13 15:51:25发表:
学习
relaaxx 于 2008-01-13 14:33:26发表:
不错,谢谢