LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3630|回复: 10

yum错误问题

[复制链接]
发表于 2008-10-23 19:19:34 | 显示全部楼层 |阅读模式
[root@localhost ~]# yum update
载入插件: axelget, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrors.fedoraproject.org ... -9.91&arch=i386 error was
[Errno 4] IOError: <urlopen error (-2, '\xe6\x9c\xaa\xe7\x9f\xa5\xe7\x9a\x84\xe5\x90\x8d\xe7\xa7\xb0\xe6\x88\x96\xe6\x9c\x8d\xe5\x8a\xa1')>
YumRepo Error: All mirror URLs are not using ftp, http or file.
/Eg. </html>
YumRepo Error: All mirror URLs are not using ftp, http or file.
/Eg. </html>
* livna: livna.cat.pdx.edu
http://download.fedoraproject.or ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, '\xe6\x9c\xaa\xe7\x9f\xa5\xe7\x9a\x84\xe5\x90\x8d\xe7\xa7\xb0\xe6\x88\x96\xe6\x9c\x8d\xe5\x8a\xa1')>
尝试其他镜像.
错误: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[root@localhost ~]# yum update
载入插件: axelget, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http or file.
/Eg. </html>
YumRepo Error: All mirror URLs are not using ftp, http or file.
/Eg. </html>
YumRepo Error: All mirror URLs are not using ftp, http or file.
/Eg. </html>
* livna: livna.cat.pdx.edu
http://download.fedoraproject.or ... epodata/repomd.xml: [Errno 14] HTTP Error 400: Invalid URI
尝试其他镜像.
错误: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

在出问题前参考了升级到Fedora 10的文章,如下

rpm -Uvh  http://fedora.c3sl.ufpr.br/linux ... e-9.91-1.noarch.rpm
rpm -Uvh  http://fedora.c3sl.ufpr.br/linux ... -9.0.2-1.noarch.rpm
然后yum update
好了可以升级到Fedora10了

但问题是,照他这么做是不行的
然后把备份的配置文件放回去就不行了

哪位有yum 的可用的配置文件,麻烦发一下吧,谢谢了
 楼主| 发表于 2008-10-23 20:08:56 | 显示全部楼层
yum没法用了,郁闷阿
输入http://download.fedoraproject.org/pub/fedora/linux/releases
竟然跳转到其他服务器,不知道大家遇到没有
回复 支持 反对

使用道具 举报

发表于 2008-10-23 20:18:18 | 显示全部楼层
跳转了,没事啊,换个源就可以了嘛。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-23 20:33:41 | 显示全部楼层
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
         
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

上面两个是修改后的配置文件
但是还是报错

[root@localhost soft]# yum update
载入插件: axelget, fastestmirror, refresh-packagekit
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrors.fedoraproject.org ... -9.91&arch=i386 error was
[Errno 4] IOError: <urlopen error (-2, '\xe6\x9c\xaa\xe7\x9f\xa5\xe7\x9a\x84\xe5\x90\x8d\xe7\xa7\xb0\xe6\x88\x96\xe6\x9c\x8d\xe5\x8a\xa1')>
Could not retrieve mirrorlist http://mirrors.fedoraproject.org ... f9.91&arch=i386 error was
[Errno 4] IOError: <urlopen error (-2, '\xe6\x9c\xaa\xe7\x9f\xa5\xe7\x9a\x84\xe5\x90\x8d\xe7\xa7\xb0\xe6\x88\x96\xe6\x9c\x8d\xe5\x8a\xa1')>
* livna: livna.cat.pdx.edu
http://download.fedora.redhat.co ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
尝试其他镜像.
错误: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-23 20:34:40 | 显示全部楼层
我怀疑是安装那个9.91xxx给害的。。。。
回复 支持 反对

使用道具 举报

发表于 2008-10-23 21:20:37 | 显示全部楼层
还没装 f10 ,但即已是 beta 版,现在应该直接用 fedora-10 才对吧?
修改一下源的配置吧。

http://mirrors.fedoraproject.org ... ra-10&arch=i386
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-23 21:41:08 | 显示全部楼层
呵呵,谢谢了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-23 21:53:31 | 显示全部楼层
我发现那个链接在浏览器打不开,怀疑是网络问题
但是其他的网站可以打开,估计网通DNS出问题了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-23 23:10:24 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2008-11-2 09:12:18 | 显示全部楼层
有个问题想在这里补充请教各位。我出现类似警告

[root@localhost ~]# yum check-update
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

请问如何解决?我有使用yum clean all

[root@localhost ~]# yum clean all
Cleaning up Everything
[root@localhost ~]# yum update
development               100% |=========================| 2.8 kB    00:00     
cb1d17fd5ce521bdd6376a9f2 100% |=========================| 6.6 MB    01:22     
adobe-linux-i386          100% |=========================|  972 B    00:00     
primary.xml.gz            100% |=========================|  10 kB    00:00     
adobe-linu: ################################################## 17/17
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

可是没有用!谢谢各位的指教了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表