Kam Leo yazmış:
You have duplicated all the repos in yum.conf and /etc/yum.repos.d/. There is no point in having both. Either comment out all the repos in
yum.conf or disable all the files in /etc/yum.repos.d/.
i have disabled the duplicated once in yum.conf (i think so) but again the same error:
[root@localhost ~]# yum check-update Setting up Repo: dries Cannot open/read repomd.xml file for repository: dries failure: repodata/repomd.xml from dries: [Errno 256] No more mirrors to try.
here is my new yum.conf:
# This is a yum.conf for Fedora Core. # It uses Fedora mirrors to make things faster, # since the main Red Hat Fedora site is pretty slow. # # Also, if you look down in the "Alternate Repositories" # section, you'll notice some commented-out repositories. # If you want to use them, uncomment them. # # Author: Maxwell Kanat-Alexander (max at fedorafaq dot org) # Date: 30 July 2004 # # Original at http://www.fedorafaq.org/#yumconf # # Changes # ------- # 30 July 2004 # + Fixed a problem with the livna-testing mirror. # 29 May 2004 # + Tested commented-out parts: all work except subpop.net # + Livna and NewRPMs mirrors! # 22 May 2004 # + Incorporated Darrenn's fixes for Fedora Core 2! # + Commented-out parts may still not work properly # 29 Feb 2004 # + Updated a lot of mirrors, for speed # + Fixed one ATrpms mirror # + Added Dries and spc, two more FreshRPMs-compatible repos # 9 Jan 2004 # + Updated ATrpms for their new directory structure. # 31 Dec 2003 # + Added JPackage, commented out # + Standard Red Hat Fedora Core sites commented-out by default # + Removed dulug from debug, since it doesn't have debug # 29 Dec 2003 # + Added mirrors for the flash-plugin, since some go down. # + Added base-debuginfo, commented out
[main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=fedora-release tolerant=1 exactarch=0 # Added this because some mirrors go down and then retying takes forever. retries=1
################### ## Fedora Extras ##
################### #[fedora-stable-pending] #name=Pending Fedora Linux (stable) for Fedora Core $releasever #baseurl=http://download.fedora.us/pending/fedora/$releasever/$basearch/yum/stable/ #gpgcheck=1 #[fedora-testing-pending] #name=Pending Fedora Linux (testing) for Fedora Core $releasever #baseurl=http://download.fedora.us/pending/fedora/$releasever/$basearch/yum/testing/ #gpgcheck=1 #[fedora-unstable-pending] #name=Pending Fedora Linux (unstable) for Fedora Core $releasever #baseurl=http://download.fedora.us/pending/fedora/$releasever/$basearch/yum/unstable/ #gpgcheck=1 #gpgcheck=1
############### ## Livna.org ## ###############
#[livna-stable] #name=Livna.org - Fedora Compatible Packages (stable) #baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable #gpgcheck=1
#[livna-unstable] #name=Livna.org - Fedora Compatible Packages (unstable) #baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable #gpgcheck=1
#[livna-testing] #name=Livna.org - Fedora Compatible Packages (testing) #baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing # http://livna.cat.pdx.edu/fedora/$releasever/$basearch/yum/testing #gpgcheck=1
############ # Jpackage # ############
# JPackage is a GREAT repository for Java Software.
# However, you may have to compile some SRPMs to use it,
# so it's commented out by default. See # <http://prdownloads.sourceforge.net/jpackage/direct_download/1.5/generic/SRPMS.non-free> # For the SRPMs, and <http://www.jpackage.org> for the general details.
#
# Note: JPackage IS compatible with the fedora.us repositories.
# You can use JPackage and fedora.us at the same time, without # any trouble.
#[jpackage-generic] #name=JPackage Cross-Platform Packages #baseurl=http://aleron.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/generic/free # http://heanet.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/generic/free # http://umn.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/generic/free #failovermethod=priority ##gpgcheck=1
#[jpackage-fedora] #name=JPackage Fedora Packages #baseurl=http://aleron.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/fedora-$releasever/free # http://heanet.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/fedora-$releasever/free # http://umn.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/fedora-$releasever/free #failovermethod=priority ##gpgcheck=1
############################ ## Alternate Repositories ## ############################
# Uncomment these to use them -- note that some packages
# from these repositories may conflict with the fedora.us
# packages. If you use these repositories, you may wish to # comment-out the fedora.us and livna.org repositories.
#[freshrpms] #name=FreshRPMs #baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/ ##gpgcheck=1
#[dag] #name=Dag APT Repository #baseurl=http://dag.freshrpms.net/fedora/$releasever/en/$basearch/dag ##gpgcheck=1
[dries] name=Dries APT/YUM Repository baseurl=http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries ##gpgcheck=1
#[spc-production] #name=Subpop.net (Production) #baseurl=http://rpms.subpop.net/fedora/linux/$releasever/$basearch/production #gpgcheck=1
#[newrpms] #name=NewRPMs #baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever # http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever ##gpgcheck=1
##gpgcheck=1
#[atrpms-bleeding]
#name=ATrpms - Bleeding (Least Stable) #baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding # http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding # http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-bleeding ##gpgcheck=1
######################## ## Didier's E17 rpms ## ########################
[Didier] name=Didier's yum repository for e17 apps/lib baseurl=http://sps.nus.edu.sg/~didierbe/fedora/2/en/i386
################### ## Miscellaneous ## ###################
[macromedia.mplug.org] name=macromedia.mplug.org - Flash Plugin baseurl=http://macromedia.mplug.org/apt/fedora/$releasever http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever http://macromedia.rediris.es/apt/fedora/$releasever #gpgcheck=1