Yum still not working after updating FC4-FC5

yonas abraham yonas at erimp3.com
Tue Apr 11 21:06:35 UTC 2006


Timothy Alberts wrote:
> I never had yum working in FC4 on my desktop machine.  I just upgraded
> to FC5 and yum is still not working.  I think it's because the
> repositores aren't updated to FC5, because the /etc/yum.conf file says
> it is for FC3. My guess is if I update the config file with the correct
> repositories, it will work.  Any suggestions on how to do this?  
>
> I have the rpm packate yum-2.6.0-1.noarch.rpm on my computer, copied
> from my install CD's.  I have tried yum -i --force --replacefiles
> yum-2.6.0-1.noarch.rpm (also tried the -U) and I still have the
> same /etc/yum.conf file.  Am I not using the correct rpm command?
>
>
> Below is the output of 'yum update yum'
>
> ]# yum update yum
> Setting up Update Process
> Setting up repositories
> livna-stable
> [1/9]
> http://rpm.livna.org/fedora/5/i386/RPMS.stable/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Date: Tue, 11 Apr 2006 20:45:08 GMT
> Server: Apache/2.0.51 (Fedora)
> Content-Length: 324
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
> Trying other mirror.
> http://livna.cat.pdx.edu/fedora/5/i386/RPMS.stable/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Content-Type: text/html
> Content-Length: 345
> Date: Tue, 11 Apr 2006 20:45:09 GMT
> Server: lighttpd/1.4.11
> Trying other mirror.
> Cannot open/read repomd.xml file for repository: livna-stable
> failure: repodata/repomd.xml from livna-stable: [Errno 256] No more
> mirrors to try.
> Error: failure: repodata/repomd.xml from livna-stable: [Errno 256] No
> more mirrors to try.
>
>
> The following is the contents of /etc/yum.conf
>
> # This is a yum.conf for Fedora Core 3.
> # 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 disabled repositories.
> # If you want to use them, just do:
> #
> # yum --enablerepo <reponame> <command>
> #
> # Where <reponame> is the name of the repo, and <command>
> # is your normal yum command.
> #
> # Authors:
> #   Maxwell Kanat-Alexander (max at fedorafaq dot org)
> #   Sindre Pedersn Bjørdal (foolish at fedorafaq dot org)
> #
> # Date: 22 November 2004
> #
> # Changes
> # -------
> # 26 November 2004
> #   + Updated ATrpms per Axel Thimm's request.
> # 22 November 2004
> #   + Updated for Fedora Core 3
> # 04 November 2004
> #   + Fixed and checked-over for publishing
> # 17 July 2004 (Sindre)
> #   + Replaced Base, debug, updates-released and updates mirrors with
> faster ones.
> #   + Added the official servers to base and updates, commented of
> course.
> #   + Tested all non-commented parts, everything works.
> # 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
> timeout=10
>
> # Basic Repos are in /etc/yum.conf.d/ #
>
> ###################
> ## Fedora Extras ##
> ###################
>
> # Temporarily set to FC2 because Fedora.US is not yet ready for FC3.
>
> [fedora-stable]
> name=Fedora.us Extras (Stable)
> baseurl=http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.stable
>
> http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.stable
>   http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/2/RPMS.stable
>   http://download.fedora.us/fedora/fedora/$releasever/2/RPMS.stable
> #gpgcheck=1
>
> [fedora-unstable]
> name=Fedora.us Extras (Unstable)
> baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.unstable
>   http://fedora.mirror.sdv.fr/fedora/fedora/2/$basearch/RPMS.unstable
>   http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.unstable
>
> http://mirrors.kernel.org/fedora.us/fedora/fedora/2/$basearch/RPMS.unstable
>   http://download.fedora.us/fedora/fedora/2/$basearch/RPMS.unstable
> #gpgcheck=1
>
> [fedora-testing]
> name=Fedora.us Extras (Testing)
> baseurl=http://download.fedora.us/fedora/fedora/2/$basearch/RPMS.testing
>   http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.testing
>   http://fedora.mirror.sdv.fr/fedora/fedora/2/$basearch/RPMS.testing
>
> http://mirrors.kernel.org/fedora.us/fedora/fedora/2/$basearch/RPMS.testing
>
> http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.testing
> #gpgcheck=1
>
> ###############
> ## Livna.org ##
> ###############
>
> [livna-stable]
> name=Livna.org - Fedora Compatible Packages (stable)
> baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
>   http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.stable
> #gpgcheck=1
>
> [livna-unstable]
> name=Livna.org - Fedora Compatible Packages (unstable)
> baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable
>   http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable
> #gpgcheck=1
>
> [livna-testing]
> name=Livna.org - Fedora Compatible Packages (testing)
> baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.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://mirrors.sunsite.dk/jpackage/1.6/generic/non-free/SRPMS>
> # For the SRPMs, and <http://www.jpackage.org/rebuilding.php> 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. It's also compatible with the Alternate Repositories,
> # for the most part.
>
> [jpackage-generic]
> name=JPackage Cross-Platform Packages
> baseurl=http://mirrors.sunsite.dk/jpackage/1.6/generic/free
>   ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/generic/free
>
> http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/generic/free
> failovermethod=priority
> enabled=0
> #gpgcheck=1
>
> [jpackage-fedora]
> name=JPackage Fedora Packages
> baseurl=http://mirrors.sunsite.dk/jpackage/1.6/fedora-$releasever/free
>   ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/fedora-$releasever/free
>
> http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/fedora-$releasever/free
> failovermethod=priority
> enabled=0
> #gpgcheck=1
>
>
> ############################
> ## Alternate Repositories ##
> ############################
>
> # To use these repos, either use the --enablerepo
> # command-line argument to yum, or change "enabled=0"
> # to "enabled=1". Note: Some packagesfrom these repositories
> # may conflict with the fedora.us packages. If you use these
> # repositories, you may wish to disable the fedora.us and
> # livna.org repositories.
>
> [freshrpms]
> name=FreshRPMs
> mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
> enabled=0
> #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/
> enabled=0
> #gpgcheck=1
>
> [dries]
> name=Dries APT/YUM Repository
> baseurl=http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries/RPMS/
> enabled=0
> #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
> enabled=0
> #gpgcheck=1
>
> [atrpms]
> name=ATrpms - Stable
> baseurl=http://apt.atrpms.net/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
> enabled=0
> #gpgcheck=1
>
> [atrpms-testing]
> name=ATrpms - Testing
> baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-testing
>   http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-testing
>
> http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-testing
> enabled=0
> #gpgcheck=1
>
> [atrpms-bleeding]
> name=ATrpms - Bleeding
> 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
> enabled=0
> #gpgcheck=1
>
> ###################
> ## Miscellaneous ##
> ###################
>
> # Semi-official Macromedia repository containing the flash-plugin rpm.
> [flash]
> 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
> enabled=0
> #gpgcheck=1
>
>
>   


at least for the livna, try the following root or sudo.

rpm -ivh http://rpm.livna.org/livna-release-5.rpm 




-- 
Yonas Abraham, PhD
Registered Linux user number 407343               http://counter.li.org 




More information about the fedora-list mailing list