LinuxSir.cn,穿越时空的Linuxsir!

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

教育总网yum源的repo配置

[复制链接]
发表于 2006-4-22 16:17:11 | 显示全部楼层 |阅读模式
我fc5的教育总网yum源的repo配置:
[core]
name=fedora core $releasever - $basearch - base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/i386/os/
baseurl=ftp://202.38.97.230/sites/fedora.redhat.com/linux/core/5/x86_64/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

[updates-released]
name=fedora core $releasever - $basearch - released updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/i386/
baseurl=ftp://202.38.97.230/sites/fedora.redhat.com/linux/core/updates/5/x86_64/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
baseurl=ftp://202.38.97.230/sites/fedora.redhat.com/linux/extras/5/x86_64
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1


# $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
baseurl=ftp://202.38.97.230/sites/fedora.redhat.com/linux/core/5/x86_64/os/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1


[extras-development]
name=Fedora Extras - Development Tree
#baseurl=ftp://202.38.97.230/sites/fedora.redhat.com/linux/extras/5/x86_64
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-devel
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
运行结果是
[root@localhost ~]# yum list
Loading "installonlyn" plugin
Setting up repositories
core                                                                 [1/4]
core                                                            1.3 kB 00:00
updates-released                                                     [2/4]
freshrpms                                                            [3/4]
extras                                                               [4/4]
extras                                                          1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz                                                  746 kB 00:00
core      : ################################################## 2414/2414
Added 2414 new packages, deleted 0 old in 13.96 seconds
primary.xml.gz                                                  229 kB 00:00
ftp://202.38.97.230/sites/fedora ... ata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from updates-released: [Errno 256] No more mirrors to try.
大虾帮忙看看是怎么回事哦,谢谢了
发表于 2006-4-22 16:52:56 | 显示全部楼层
试试以 root 身份
rm -rf /var/cache/yum/*
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-24 10:10:00 | 显示全部楼层
试过了,不行哦
回复 支持 反对

使用道具 举报

发表于 2006-4-24 10:12:51 | 显示全部楼层
该更新源有问题,不是你的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-24 12:54:00 | 显示全部楼层
这样子阿,有好的教育网源介绍么。谢谢了
回复 支持 反对

使用道具 举报

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

本版积分规则

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