fc4 下,用yum出现问题,我是新手,请帮忙啊
我用yum update 命令出现下面的提示Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Update Process
Setting up repositories
ftp://ftp.sjtu.edu.cn/fedora/linux/core/4/i386/os/repodata/repomd.xml: IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: No more mirrors to try.
我刚开始学习linux,请各位帮帮忙了 ,我只能上教育网,所以我找了伤害交大的FTP
这是我配置的yum.conf
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=0
name=Fedora Core $releasever - $basearch - Base
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/4/i386/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/updates/4/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
yum.repos.d目录里的fedora-devel.repo
name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/4/i386/os/
enabled=0
gpgcheck=0
fedora-extras-devel.repo文件为
name=Fedora Extras $releasever - Development Tree
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/4/i386/os/
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0
fedora-extras.repo文件
name=Fedora Extras $releasever - $basearch
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/4/i386/os/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
fedora.repo
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/4/i386/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
fedora-updates.repo
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/updates/4/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
fedora-updates-testing.repo
name=Fedora Core $releasever - $basearch - Test Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc$releasever
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/updates/4/i386/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test 各位大哥最好能帮我改好,如何设置请讲的详细一点,小弟在此谢谢了 地址不对吧
# Please choose the nearest mirror http://www.fedora.us/wiki/FedoraMirrorList
# Add any local / 3rd party repositories here..
# Fedora Core 4 z ayo.freshrpm
rpm http://ayo.freshrpms.net/ fedora/linux/4/i386 updates core freshrpms extras
# Livna 3rd party packages
rpm http://rpm.livna.org/ fedora/4/i386 lvn
rpm http://rpm.livna.org/ fedora/4/i386 stable
# Kde-redhat.org repository(s) for RedHat/Fedora 4
rpm http://apt.kde-redhat.org/apt kde-redhat/fedora/4/i386 stable
# ayo.sw.be Fedora Core 4
rpm http://apt.sw.be fedora/4/en/i386 dag
rpm http://download.fedora.us/ fedora/fedora/latest/i386 os updates stable
rpm http://ayo.ie.freshrpms.net/ fedora/linux/4/i386 freshrpms core extras
# Dag RPM Repository for Fedora Core 4
rpm http://ftp.heanet.ie/pub/freshrpms/pub/dag fedora/4/en/i386 dag
rpm http://wftp.tu-chemnitz.de/pub/linux/dag fedora/4/en/i386 dag
# Bzium - SPRAWDZI? TO!!
rpm http://apt.bzium.net fc3/i386 afrod
# Kadu
rpm http://kadu.net/~nastian/ apt-kadu/fedora/3 kadu dodatki modules
# Fedora US
rpm http://download.fr.fedora.us/ fedora/fedora/latest/i386 os updates stable
# DRIES
rpm http://search.belnet.be/ packages/dries.ulyssis.org/fedora/fc4/i386 dries 谢谢了,可是我在教育网,上不了国外的网站,yum由不能用代理 找了香港大学的也不行啊,提示如下Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Update Process
Setting up repositories
http://download.stmc.edu.hk/fedora/linux/core/updates/4/i386/repodata/repomd.xml: IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: No more mirrors to try. 解决了,我把source文件改成上边的 香港大学的地址就可以用up2date了
谢谢云燕的帮忙
页:
[1]