发新话题
打印

fc-5下yum的问题,望帮忙。。

fc-5下yum的问题,望帮忙。。

  我是跟据本网提供的方法改YUM镜像源,可是好像出现了不少错误 ,不知怎么解决,在网上找了好多资料都解决不了,希望朋友帮忙:其中两个配置如下:
文件1:fedora-cn.repo

[core]
name=Fedora Core $releasever - $basearch
baseurl=http://mirror.lupaworld.com/fedora/fedora-cn/$releasever/$ba#search/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://mirror.lupaworld.com/fedora/fedora-cn/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
baseurl=http://mirror.lupaworld.com/fedora/fedora-cn/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


文件2:fedora-extras.repo

[extras]
name=Fedora Extras $releasever - $basearch
baseurl=http://mirror.lupaworld.com/fedora/extras/$releasever/$#basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

[extras-debuginfo]
name=Fedora Extras $releasever - $basearch - Debug
baseurl=http://mirror.lupaworld.com/fedora/extras/$releasever/$basearch/debug/
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

[extras-source]
name=Fedora Extras $releasever - Source
baseurl=http://mirror.lupaworld.com/fedora/extras/$releasever/SRPMS/
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1


错误 :

[root@localhost ~]# yum list eva
Loading "installonlyn" plugin
Setting up repositories
livna                                                                [1/5]
core                                                                 [2/5]
http://mirror.lupaworld.com/fedo ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Thu, 14 Sep 2006 18:12:42 GMT
Server: Apache/2.0.54 (Ubuntu) PHP/4.4.0-3ubuntu2
Content-Length: 325
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.

本人真的好希望把这个问题给解决了,毕竟花了不少时间上去了。。。。
邮箱:quanyan.chen@hotmail.com
博客:http://joson.lupaworld.com
生命满希望,前路由我创!
实在不好意思,由于我现在没有使用Fedora,所以没有对YUM的配置进行详细测试,当时在我的电脑上测试是通过的,现在页面已经改过了。
http://mirror.lupaworld.com/fedora.html
http://mirror.lupaworld.com/fedora/fedora-cn/5/i386/RPMS/
下载其中最新版本的fedora-cn-release RPM,比如现在的fedora-cn-release-1.1-1.fc5.y5.noarch.rpm 然后安装 rpm -i fedora-cn-release-1.1-1.fc5.y5.noarch.rpm
对于core和extras我也尽早提供RPM包,方便大家使用,谢谢对LUPA镜像的关注。
http://mirror.lupaworld.com/fedo ... ata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
我把yum配置文件改过来了,可是又出现在另一种情况,好像是说什么跟本地的元数据不匹配。。请问这是什么原因,本地元数据是哪个配置文件?谢谢!
邮箱:quanyan.chen@hotmail.com
博客:http://joson.lupaworld.com
生命满希望,前路由我创!
各位大哥,请帮帮忙吗...本人真的好希望能解决这个YUM的问题....在这里先谢谢啦!!!有什么使用经验的也可以教一下我这位小弟吗....
邮箱:quanyan.chen@hotmail.com
博客:http://joson.lupaworld.com
生命满希望,前路由我创!
我想这个应该是fedora-cn-release的那个rpm包出了问题,你可以试试不要装最新的,装旧版本试试。
我从新安装过系统,重新调YUM的设置。又出现另一个现像,这是怎么回事啊。。。。晕死啦。怎么就搞不好这个YUM的。。。。。

CRITICAL:yum.plugin:This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Setting up repositories
http://mirror.lupaworld.com/fedo ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Mon, 02 Oct 2006 12:20:24 GMT
Server: Apache/2.0.54 (Ubuntu) PHP/4.4.0-3ubuntu2
Content-Length: 360
Content-Type: text/html; charset=iso-8859-1

Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: fedora-cn


我查过以上那个URL是不存在的。只存在一个http://mirror.lupaworld.com/fedo ... repodata/repomd.xml

????????
邮箱:quanyan.chen@hotmail.com
博客:http://joson.lupaworld.com
生命满希望,前路由我创!
发新话题