"yum update" busted my system?

Discussion in 'Linux' started by shotty, Sep 21, 2008.

  1. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    I think I busted my system by accident!
    I have written another thread about my troubles installing VLC, and in my many different attempts installing VLC, I think i've tampered with something bad.
    I accidently did a "yum update" in terminal. Still anything seems to work ( not my wifi but thats a different story ), I just can seem to get into any repositories. It tries them all, but everytime it ends up " Cannot retrieve repository metadata (repomd . xml) for repository livna. please verify its path and try again"
    What to do - reinstall system?

    shotty
     
    shotty, Sep 21, 2008
    #1
  2. shotty

    scottro

    Joined:
    Aug 31, 2008
    Messages:
    347
    Likes Received:
    0
    You can try

    sudo yum clean all

    It may or may not help.
     
    scottro, Sep 21, 2008
    #2
  3. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    What does
    sudo yum clean all
    do?
    wipe my system or just my yum-repositories-settings (sort a speak..) If this is the case, I can just reinstall yum afterwards?

    I'me very much interested in keeping my system intact if possible...

    thanks for the reply
    Shotty
     
    shotty, Sep 21, 2008
    #3
  4. shotty

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    rbil, Sep 22, 2008
    #4
  5. shotty

    scottro

    Joined:
    Aug 31, 2008
    Messages:
    347
    Likes Received:
    0
    As the man page may not be that clear to a newcomer--it will clean up whatever cached data you have, and just redownload the yum files--not the packages, just the various databases that yum uses. This will sometimes fix such problems.

    It's good to get into the habit of looking at man pages. Linpus doesn't include them, but they're readily available online--you can just google for linux man (and the command.)

    In general, Linux man pages are probably the most poorly written of all Unix and Unix like systems, but are still useful, especially after you get used to using them.

    However, it does take time, and some knowledge to get used to using them which is why I'm giving a fuller explanation.
    There's also a reasonably good work in progress explanation of yum at

    http://fedoraproject.org/wiki/Docs/Draf ... ementGuide
     
    scottro, Sep 22, 2008
    #5
  6. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    Thanks a bunch!
    Did a yum clean all but it didn't change anything.....Yum still can't connect! ******* difficult to get it to work...
    I have read the man-page, but I can't see anything on the page (eccept the "Clean all") that remotely looks like a solution....any ideas???

    I'me getting desperate here....

    Thanks for the help so far.
    Shotty
     
    shotty, Sep 22, 2008
    #6
  7. shotty

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    do the following:

    cd /etc
    cd yum.repos.d/
    ls -l

    and post the results here.

    Cheers
     
    rbil, Sep 22, 2008
    #7
  8. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    Did what you wrote:

    [user@localhost ~]$ cd /etc
    [user@localhost etc]$ cd yum.repos.d/
    [user@localhost yum.repos.d]$ ls -l
    total 44
    -rw-r--r-- 1 root root 1888 2008-09-18 18:48 fedora-development.repo.rpmsave
    -rw-r--r-- 1 root root 1962 2008-09-16 02:15 fedora-rawhide.repo
    -rw-r--r-- 1 root root 1047 2008-09-18 18:48 fedora.repo
    -rw-r--r-- 1 root root 1090 2008-09-16 02:15 fedora.repo.rpmnew
    -rw-r--r-- 1 root root 957 2008-09-18 18:48 fedora-updates.repo
    -rw-r--r-- 1 root root 1108 2008-09-16 02:15 fedora-updates.repo.rpmnew
    -rw-r--r-- 1 root root 1037 2008-09-18 18:48 fedora-updates-testing.repo
    -rw-r--r-- 1 root root 1181 2008-09-16 02:15 fedora-updates-testing.repo.rpmnew
    -rw-r--r-- 1 root root 1904 2007-11-07 17:11 livna-devel.repo
    -rw-r--r-- 1 root root 1808 2007-11-07 17:11 livna.repo
    -rw-r--r-- 1 root root 2003 2007-11-07 17:11 livna-testing.repo
    [user@localhost yum.repos.d]$

    What di you make of it?
     
    shotty, Sep 22, 2008
    #8
  9. shotty

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    I make of it that you've added many repos besides the standard ones that come configured with the AA1. :) Maybe on of them is throwing up the error because that particular server is down or has changed? Not sure what to suggest you try?

    Cheers.

    Added: I can tell you what the original looks like :)

    -rw-r--r-- 1 root root 1907 2007-10-29 19:25 fedora-development.repo
    -rw-r--r-- 1 root root 1168 2007-10-29 19:25 fedora.repo
    -rw-r--r-- 1 root root 1078 2007-10-29 19:25 fedora-updates.repo
    -rw-r--r-- 1 root root 1156 2007-10-29 19:25 fedora-updates-testing.repo
     
    rbil, Sep 22, 2008
    #9
  10. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    Thanks a million...
    Hmmmm how on earth did i do that?
    Anyone? Did my "yum update" do that? When I try "add/remove programs" it comes back the same way as i terminal! Should i add/remove some repositories threw the repository-manager? And in that case: Which ones?

    Shotty
     
    shotty, Sep 22, 2008
    #10
  11. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    I seems strange that the 4 repositories that you mention as standard/default still are among the ones I listed, and yet my acer refuses to connect to any of them. If the standard repositories are still available (along with the many new ones) why on gods green earth won't my acer connect.....????? :(
    Again - have any of you ever experienced this before, and do you have any...and I meen ANY idea about what to do!? I just want VLC goddammit, how hard can it be? :evil:

    Shotty
     
    shotty, Sep 23, 2008
    #11
  12. shotty

    RockDoctor

    Joined:
    Aug 21, 2008
    Messages:
    963
    Likes Received:
    0
    Location:
    Minnesota, USA
    It may be that no repositories are actually enabled. The repository info is stored in either /etc/yum.conf or in individual files within /etc/yum.repos.d/ Here's an entry from my /etc/yum.repos.d/fedora.repo file:
    Code:
    [fedora]
    name=Fedora $releasever - $basearch
    failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    
    Note the enabled=0 line. This repository is disabled in my configuration (I'm using the Fedora-Rawhide repository).
     
    RockDoctor, Sep 23, 2008
    #12
  13. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    Thanks for the suggestion....
    How do i get to the file to check wether it's disabled or not? I tried su - and then etc/yum.repos.d/ in root....it came up with "no such directory exists"...am I doing it wrong? I'm a bit of a linux newbie - bare with me!
     
    shotty, Sep 23, 2008
    #13
  14. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    Just to clarify my problem. This is what happens when I try to install vlc through yum:
    Code:
    [user@localhost ~]$ su -
    Password: 
    [root@localhost ~]# yum install vlc
    Loading "priorities" plugin
    rawhide                   100% |=========================| 2.4 kB    00:00     
    primary.sqlite.bz2        100% |=========================| 7.0 MB    00:29     
    updates-debuginfo         100% |=========================| 2.1 kB    00:00     
    fedora                    100% |=========================| 2.1 kB    00:00     
    updates-source            100% |=========================| 2.6 kB    00:00     
    updates-testing-debuginfo 100% |=========================| 1.9 kB    00:00     
    updates-testing           100% |=========================| 2.3 kB    00:00     
    [url]http://rpm.livna.org/fedora/9.91/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
    Trying other mirror.
    [url]http://livna.cat.pdx.edu/fedora/9.91/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
    Trying other mirror.
    [url]http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/9.91/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
    Trying other mirror.
    [url]http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/9.91/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
    Trying other mirror.
    [url]http://mirror.atrpms.net/livna/fedora/9.91/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
    Trying other mirror.
    [url]ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/9.91/i386/repodata/repomd.xml:[/url] [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: livna. Please verify its path and try again
    [root@localhost ~]# 
    
     
    shotty, Sep 23, 2008
    #14
  15. shotty

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    cd /etc
    cd yum.repos.d/
    ls -l
    lists the files

    To look into a file to see whether enabled is set (example):

    less fedora-rawhide.repo

    You can scroll up and down and view the file. Hit Q to quit less

    To edit a file in /etc and its subdirectories (example):

    sudo mousepad fedora-rawhide.repo

    Cheers.
     
    rbil, Sep 23, 2008
    #15
  16. shotty

    Phil_Urich

    Joined:
    Aug 29, 2008
    Messages:
    44
    Likes Received:
    0
    To clarify a bit, you'd have to type in
    Code:
    cd /etc/yum.repos.d
    cd for "change directory" and then you need the full path, since you're probably in your home directory at first, in which case without that first / it's looking for /home/user/etc/yum.repos.d (as in, it's assuming "etc" is a folder within the directory it currently is in).

    From your output of yum, though, it looks like it isn't talking to the livna repos though, and the livna ones are where VLC is to be found. Actually, to be clear, it looks like you're trying to use the livna repos for Fedora 9, which IIRC is a newer release of Fedora than the one that the AA1's build of Linpus is based on (forgive me if I'm wrong, I'm a Debian man at heart, haha).

    Here's what things look like for me:

    Code:
    [user@localhost yum.repos.d]$ cat livna.repo
    [livna]
    name=Livna for Fedora Core $releasever - $basearch - Base
    baseurl=
            http://rpm.livna.org/fedora/$releasever/$basearch/
            http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
            http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
            http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
            http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
            ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
    failovermethod=priority
    #mirrorlist=http://rpm.livna.org/mirrorlist-7
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
    
    [livna-debuginfo]
    name=Livna for Fedora Core $releasever - $basearch - Debug
    baseurl=
            http://rpm.livna.org/fedora/$releasever/$basearch/debug/
            http://livna.cat.pdx.edu/fedora/$releasever/$basearch/debug/
            http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/debug/
            http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/debug/
            http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/debug/
            ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/debug/
    failovermethod=priority
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
    gpgcheck=1
    
    [livna-source]
    name=Livna for Fedora Core $releasever - $basearch - Source
    baseurl=
            http://rpm.livna.org/fedora/$releasever/SRPMS/
            http://livna.cat.pdx.edu/fedora/$releasever/SRPMS/
            http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/SRPMS/
            http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/SRPMS/
            http://mirror.atrpms.net/livna/fedora/$releasever/SRPMS/
            ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/SRPMS/
    failovermethod=priority
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
    gpgcheck=1
    
    But anyways, over at http://www.videolan.org/vlc/download-fedora.html it mentions what to do for different releases of Fedora . . . I think the AA1's version is based on Fedora 8? So do the bits for Fedora 8.

    I guess you might have to remove the old (well, new, but you get my point) livna repos. All in all, the commands you'd need to type would probably be:

    Code:
    [user@localhost ~]$ cd /etc/yum.repos.d/
    [user@localhost yum.repos.d]$ sudo rm livna*
    [user@localhost yum.repos.d]$ sudo rpm -ivh [url]http://rpm.livna.org/livna-release-7.rpm[/url]
    [user@localhost yum.repos.d]$ sudo yum install vlc
    
    And that should be it....I think. As noted, I'm not too familiar with RH/Fedora based package management----my Debian/Ubuntu heritage also shows though in that in the above lines I've used "sudo" (basically, "super user do") instead of using "su" to switch to the root/super-user account. Basically if you're used to using "su -" then just do that first and don't bother typing "sudo", but either way should work.

    I hope that helps! If not we'll all still be here to take another stab at it :)
     
    Phil_Urich, Sep 24, 2008
    #16
  17. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    Ahh all you helpful people warms my heart :D
    Thanks a million phil for the clarification, I'll try your command lines as soon as i'm home, and post my results as soon as possible....

    shotty
     
    shotty, Sep 24, 2008
    #17
  18. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    This is what I did (exactly what phil wrote)
    Code:
    [user@localhost ~]$ su -
    Password: 
    [root@localhost ~]# cd /etc/yum.repos.d/
    [root@localhost yum.repos.d]# rm livna*
    rm: remove regular file `livna-devel.repo'? y
    rm: remove regular file `livna.repo'? yes
    rm: remove regular file `livna-testing.repo'? yes
    [root@localhost yum.repos.d]# rpm -ivh [url]http://rpm.livna.org/livna-release-7.rpm[/url]
    Retrieving [url]http://rpm.livna.org/livna-release-7.rpm[/url]
    warning: /var/tmp/rpm-xfer.zkOZZg: Header V3 DSA signature: NOKEY, key ID a109b1ec
    Preparing...                ########################################### [100%]
            package livna-release-8-1 (which is newer than livna-release-7-2) is already installed
    [root@localhost yum.repos.d]# yum install vlc
    Loading "priorities" plugin
    rawhide                   100% |=========================| 2.4 kB    00:00     
    updates-debuginfo         100% |=========================| 2.1 kB    00:00     
    fedora                    100% |=========================| 2.1 kB    00:00     
    updates-source            100% |=========================| 2.6 kB    00:00     
    updates-testing-debuginfo 100% |=========================| 1.9 kB    00:00     
    updates-testing           100% |=========================| 2.3 kB    00:00     
    updates                   100% |=========================| 2.6 kB    00:00     
    primary.sqlite.bz2        100% |=========================| 2.2 kB    00:00     
    updates-testing-source    100% |=========================| 2.1 kB    00:00     
    primary.sqlite.bz2        100% |=========================|  85 kB    00:00     
    fedora-source             100% |=========================| 2.1 kB    00:00     
    primary.sqlite.bz2        100% |=========================| 1.4 MB    00:05     
    fedora-debuginfo          100% |=========================| 2.1 kB    00:00     
    primary.sqlite.bz2        100% |=========================| 1.2 MB    00:04     
    Setting up Install Process
    Parsing package install arguments
    No package vlc available.
    Nothing to do
    
    Hmmm......what do you make of it.....repository temporarily down??

    shotty
     
    shotty, Sep 24, 2008
    #18
  19. shotty

    Grim Squeaker

    Joined:
    Aug 19, 2008
    Messages:
    410
    Likes Received:
    0
    It should be livna release-8. Not 7 ;)
     
    Grim Squeaker, Sep 24, 2008
    #19
  20. shotty

    shotty

    Joined:
    Sep 19, 2008
    Messages:
    25
    Likes Received:
    0
    I think my system overruled the installation:

    Code:
    package livna-release-8-1 (which is newer than livna-release-7-2) is already installed
    Or what?

    I tried the method (and I've tried it before) on the VLC homepage and it also informed me that version 8 already is installed...

    I'me clueless :roll:
     
    shotty, Sep 24, 2008
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.