|
我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.
大虾帮忙看看是怎么回事哦,谢谢了 |
|