FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Join Date
    Oct 2006
    Posts
    17

    Unhappy HELP!!! Yum totally broken

    I am in one of those snake-eating-tail situations. Somehow between 2 days ago and today I managed to kill my yum, and everything I've done seems to make it more broken. How do I go about freshly reinstalling yum on fc5 *without* using yum? All of my package managers (pirut, etc.) are all dead.
    Many TIA,
    Craig

  2. #2
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    299
    Did you try uninstalling yum and then reinstalling? something like rpm -e yum then rpm -ivh yum

  3. #3
    Join Date
    Oct 2006
    Posts
    17
    I think my rpm is broken in addition to yum, which is a snake eating snake eating tail problem. E.g.:
    $ su -
    # rpm -e yum
    error: package yum is not installed

    Any ideas how to proceed?
    *Many* TIA,
    Craig

  4. #4
    Legomax Guest
    do you have 2 cps? if so couldnt you download it on the ones that is working, move it to a disk, and then put it on your computer? just an idea, im not that great with this.

  5. #5
    Join Date
    Oct 2006
    Posts
    17
    Still is a tail eating problem, though. Do you know where to get the latest stable yum for fc5?

    & regarding the rpm issue, rebuilding the db does not seem to work:
    # rpm --rebuilddb
    # rpm -e yum
    error: package yum is not installed

    Any ideas yum/rpm gurus?

    *Many* TIAs,
    Craig

  6. #6
    Join Date
    Aug 2005
    Posts
    3,172
    Yum has been removed somehow.

    Pull the copy of yum off the install disk(rpm -ivh yum). After it is installed yum update yum.

    Lazlow

  7. #7
    Join Date
    Oct 2006
    Posts
    17
    Thanks, super--tried that earlier & this is what I saw:

    # rpm -ivh yum-2.6.0-1.noarch.rpm
    warning: yum-2.6.0-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2error: Failed dependencies:
    /bin/bash is needed by yum-2.6.0-1.noarch
    /bin/sh is needed by yum-2.6.0-1.noarch
    /sbin/chkconfig is needed by yum-2.6.0-1.noarch
    /sbin/service is needed by yum-2.6.0-1.noarch
    /usr/bin/python is needed by yum-2.6.0-1.noarch
    coreutils is needed by yum-2.6.0-1.noarch
    libxml2-python is needed by yum-2.6.0-1.noarch
    python is needed by yum-2.6.0-1.noarch
    python(abi) = 2.4 is needed by yum-2.6.0-1.noarch
    python-elementtree is needed by yum-2.6.0-1.noarch
    python-sqlite is needed by yum-2.6.0-1.noarch
    rpm >= 0:4.1.1 is needed by yum-2.6.0-1.noarch
    urlgrabber is needed by yum-2.6.0-1.noarch

    Definitely have that stuff, e.g.
    # bash --version
    GNU bash, version 3.1.7(1)-release (i386-redhat-linux-gnu)
    Copyright (C) 2005 Free Software Foundation, Inc.

    # python -V
    Python 2.4.3

    Any ideas? This is driving me nuts!

    Many TIA,
    Craig

  8. #8
    Join Date
    Oct 2006
    Posts
    17
    I discovered -nodeps! I was able to install yum, FINALLY:
    rpm -ivh yum-2.6.0-1.noarch.rpm --nodeps

    But now when I try to update yum, I get this, the same error I was getting yesterday:

    # yum update yum
    Loading "installonlyn" plugin
    Setting up Update Process
    Setting up repositories
    livna [1/6]
    http://rpm.livna.org/fedora/Null/i38...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Fri, 13 Oct 2006 23:45:23 GMT
    Server: Apache/2.0.52 (CentOS)
    Content-Length: 313
    Content-Type: text/html; charset=iso-8859-1
    Trying other mirror.
    http://livna.cat.pdx.edu/fedora/Null...ta/repomd.xml: [Errno 14] HTTP Error 404: Content-Type: text/html
    Content-Length: 345
    Date: Fri, 13 Oct 2006 23:55:52 GMT
    Server: lighttpd/1.4.11
    Trying other mirror.
    http://wftp.tu-chemnitz.de/pub/linux...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Fri, 13 Oct 2006 23:55:52 GMT
    Server: Apache/2.0.52 (Red Hat)
    Content-Length: 382
    Content-Type: text/html; charset=iso-8859-1
    Trying other mirror.
    http://ftp-stud.fht-esslingen.de/pub...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Fri, 13 Oct 2006 23:55:52 GMT
    Server: Apache/2.2.2 (Fedora)
    Vary: accept-language,accept-charset
    Accept-Ranges: bytes
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=iso-8859-1
    Content-Language: en
    Trying other mirror.
    http://mirror.atrpms.net/livna/fedor...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Fri, 13 Oct 2006 23:55:53 GMT
    Server: Apache/2.2.2 (Fedora)
    Content-Length: 322
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    Trying other mirror.
    ftp://mirrors.tummy.com/pub/rpm.livn...ta/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
    Trying other mirror.
    Cannot open/read repomd.xml file for repository: livna
    failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
    Error: failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.

    I tried to rm liv* from /etc/yum.repos.d, but then I get:

    # yum update yum
    Loading "installonlyn" plugin
    Setting up Update Process
    Setting up repositories
    flash [1/5]
    flash 100% |=========================| 951 B 00:00
    core [2/5]
    Cannot find a valid baseurl for repo: core
    Error: Cannot find a valid baseurl for repo: core

    Anyone know how to address that valid baseurl issue?

    Many TIA,
    Craig

  9. #9
    Join Date
    Aug 2005
    Posts
    3,172
    Here is my fedora-core.repo


    [core]
    name=Fedora Core $releasever - $basearch
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/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

    [core-debuginfo]
    name=Fedora Core $releasever - $basearch - Debug
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

    [core-source]
    name=Fedora Core $releasever - Source
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

  10. #10
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    7,301
    That's weird since it wasn't even using the baseurl,you had it commented out.

    Try cleaning the yum out:

    yum clean all
    yum clean metadata
    yum clean dbcache

    then try again

    What happens if you comment out the core mirrorlist entry and comment in
    the baseurl? I just confirmed that the page is ok at your
    baseurl by pasting it into firefox and the page loaded.
    Mark

  11. #11
    Join Date
    Aug 2005
    Posts
    3,172
    The baseurl is commented out for speed reasons. Everbody tries to use it first so it slows things down (overloaded). It usually works just slower (at least for me).

    Lazlow

  12. #12
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    7,301
    Quote Originally Posted by lazlow
    The baseurl is commented out for speed reasons. Everbody tries to use it first so it slows things down (overloaded). It usually works just slower (at least for me).

    Lazlow
    Yeah, I know why it's probably commented out, what I mean is it's
    strange for it to say it can't fine the baseurl (which usually means
    it thinks it can't load the page from the internet) if it's commented
    out and thus shouldn't even be trying the baseurl at all.

    Mark

  13. #13
    Join Date
    Aug 2005
    Posts
    3,172
    Marko

    I am not the OP. I was posting mine to compare too.

    Lazlow

  14. #14
    Join Date
    Aug 2005
    Posts
    3,172
    Craig

    I just spotted something. Are/Have you been useing Atrpms?

    Lazlow

  15. #15
    Join Date
    Oct 2006
    Posts
    17
    From the OP, my fedora-core.repo:

    # cat fedora-core.repo
    [core]
    name=Fedora Core $releasever - $basearch
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/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

    [core-debuginfo]
    name=Fedora Core $releasever - $basearch - Debug
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

    [core-source]
    name=Fedora Core $releasever - Source
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
    root:/etc/yum.repos.d#

    which looks pretty much like Lazlo's. I also tried

    yum clean all
    yum clean metadata
    yum clean dbcache

    which didn't help, and tried commenting in the first baseurl in the file above, and got:

    # yum update yum
    Loading "installonlyn" plugin
    Setting up Update Process
    Setting up repositories
    flash [1/5]
    core [2/5]
    http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Sat, 14 Oct 2006 02:15:45 GMT
    Server: Apache
    Last-Modified: Sat, 14 Oct 2006 01:45:45 GMT
    ETag: "109caa-1051-45304149"
    Accept-Ranges: bytes
    Content-Length: 4177
    Content-Type: text/html
    Trying other mirror.
    Cannot open/read repomd.xml file for repository: core
    failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
    Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.

    I put
    http://download.fedora.redhat.com/pu...ata/repomd.xml
    into a Firefox browser & got a 404 file not found error.

    Any idea what is going on?

    Many TIA,
    Craig

Page 1 of 2 1 2 LastLast

Similar Threads

  1. DNS and totally lost
    By Mr. Print in forum Servers & Networking
    Replies: 4
    Last Post: 7th January 2009, 11:14 AM
  2. Totally confused with LVM on fc7
    By tvoltagg in forum Using Fedora
    Replies: 1
    Last Post: 7th March 2008, 01:54 AM
  3. That was totally epic.
    By forkbomb in forum Linux Chat
    Replies: 7
    Last Post: 10th January 2008, 05:36 PM
  4. Totally new to this.
    By S3xyNaniGoat in forum Servers & Networking
    Replies: 10
    Last Post: 2nd April 2005, 03:18 PM
  5. Help--totally screwed XP MBR
    By virusdoc in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 18th August 2004, 10:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •