[TriLUG] yum.conf problems

linux r linuxr at gmail.com
Mon Nov 1 21:29:27 EST 2004


Hello.   I downloaded a new yum.conf file from fedorafaq.org. 
Uncommented a few things.  Can't get yum.conf to work at all,
everything dies.  This is a fresh install of FC1.  Any ideas on what
to tweak here and why?

Thanks,
Marc




Here is is:   <paste>
****************************************************************************************************

# 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

##################
## Basic Fedora ##
##################

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://mirror.hiwaay.net/redhat/fedora/linux/core/$releasever/$basearch/os
  http://rpmfind.net/linux/fedora/core/$releasever/$basearch/os
  http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/$releasever/$basearch/os
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.os
  http://fedora.redhat.com/releases/fedora-core-$releasever
#gpgcheck=1

#[base-debuginfo]
#name=Fedora Core $releasever - $basearch - Debug Info
#baseurl=http://speakeasy.rpmfind.net/linux/fedora/core/$releasever/$basearch/debug
  http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/$releasever/$basearch/debug
  http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/$releasever/$basearch/debug
  http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/$releasever/$basearch/debug
##gpgcheck=1

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://ftp.ens.utulsa.edu/pub/linux/fedora/core/updates/$releasever/$basearch
  http://rpmfind.net/linux/fedora/core/updates/$releasever/$basearch
  http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/updates/$releasever/$basearch
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.updates
  http://fedora.redhat.com/updates/released/fedora-core-$releasever
#gpgcheck=1

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/yum/updates-testing
  http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/updates/testing/$releasever/$basearch
  http://mirror.clarkson.edu/pub/distributions/fedora/linux/core/updates/testing/$releasever/$basearch
  http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/updates/testing/$releasever/$basearch
  http://fedora.redhat.com/updates/testing/fedora-core-$releasever
##gpgcheck=1

###################
## Fedora Extras ##
###################

[fedora-stable]
name=Fedora.us Extras (Stable)
baseurl=http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/$basearch/RPMS.stable
  http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
#gpgcheck=1

[fedora-unstable]
name=Fedora.us Extras (Unstable)
baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.unstable
  http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.unstable
#gpgcheck=1

[fedora-testing]
name=Fedora.us Extras (Testing)
baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.testing
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.testing
#gpgcheck=1

###############
## Livna.org ##
###############

[livna-stable]
name=Livna.org - Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
  http://livna.cat.pdx.edu/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
  http://livna.cat.pdx.edu/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/
  http://ftp.us2.freshrpms.net/linux/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/
##gpgcheck=1

#[dag]
#name=Dag APT Repository
baseurl=http://dag.freshrpms.net/fedora/$releasever/en/$basearch/dag
  http://dag.atrpms.net/fedora/$releasever/en/$basearch/dag/
  http://ftp.heanet.ie/pub/freshrpms/pub/dag/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

#[atrpms-stable]
#name=ATrpms - Stable (Most Stable)
baseurl=http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-stable
  http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-stable
  http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-stable
##gpgcheck=1

#[atrpms-good]
#name=ATrpms - Good (2nd Most Stable)
baseurl=http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-good
  http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-good
  http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-good
##gpgcheck=1

#[atrpms-testing]
#name=ATrpms - Testing (3rd Most Stable)
#baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-testing
#  http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-testing
#  http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-testing
##gpgcheck=1

#[atrpms-bleeding]
#name=ATrpms - Bleeding (Least Stable)
#baseurl=http://apt.physik.fu-berlin.de/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

###################
## 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


************************************************************************************************


And this is the output:  



[root at 185 etc]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
retrygrab() failed for:
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.os/headers/header.info
  Executing failover method
Server: Fedora.us Extras (Stable)
retrygrab() failed for:
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://fedora.mirror.sdv.fr/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://fedora.quicknet.nl/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file
http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.stable/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
[root at 185 etc]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora.us Extras (Stable)
retrygrab() failed for:
  http://fedora.mirror.sdv.fr/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://fedora.quicknet.nl/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file
http://fedora.mirror.sdv.fr/fedora/fedora/1/i386/RPMS.stable/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
[root at 185 etc]# vi /etc/yum.conf
[root at 185 etc]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
retrygrab() failed for:
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.os/headers/header.info
  Executing failover method
Server: Fedora.us Extras (Stable)
retrygrab() failed for:
  http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://fedora.mirror.sdv.fr/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
retrygrab() failed for:
  http://fedora.quicknet.nl/fedora/fedora/1/i386/RPMS.stable/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file
http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.stable/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
[root at 185 etc]#



-- 
Marc




Wealth is the product of man's capacity to think. 
Ayn Rand



More information about the TriLUG mailing list