Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2007, 10:53 PM   #1
LQ Newbie
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Yum problems

The OS is fedora core 5 and I just got yum working. I installed the following:

Now when I try to install something using yum it terminates, for example when I do 'yum list available' it says:

Loading "installonlyn" plugin
Setting up repositories
livna                                                                [1/5]
livna                     100% |=========================|  951 B    00:00
core                                                                 [2/5]
core                      100% |=========================| 1.1 kB    00:00
updates                                                              [3/5]
updates                   100% |=========================| 1.2 kB    00:00
freshrpms                                                            [4/5]
freshrpms                 100% |=========================|  951 B    00:00
extras                                                               [5/5]
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 147 kB    00:00
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
  File "/usr/share/yum-cli/", line 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/", line 516, in doCommands
It does this when I attempt to install anything using yum. Does anyone know what I can do to fix this problem? Any help would be greatly appreciated. Thanks!
Old 03-24-2007, 12:39 AM   #2
Registered: May 2006
Distribution: Fedora Core, SuSE
Posts: 44

Rep: Reputation: 15
I've used Fedora Core since 4, and I've never had yum NOT work out of the box, what was wrong with it in the first place?
Old 03-24-2007, 01:56 AM   #3
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Why did you install a package for Fedora Core 4 on Fedora Core 5 (I see yum.fc4). Are you sure you have the right repositories set up?
Old 03-24-2007, 07:25 PM   #4
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
You should remove that package with command:

rpm -e yum-2.4.1-1.fc4.noarch.rpm
Your original installation would have had the proper FC5 yum package pre-installed, it should still be installed. Check with the GUI, in KDE, go to main menu/system/Add_and_remove_software while on-line, wait for it to do a scan, could take a while, then when the package manager window you saw during installation shows up hit the "List" tab to get a list of all packages in alphabetical order and scroll down to "yum" and the packages with a check mark is a package installed, to add and remove via this GUI, just add or remove the check marks depending on what you want to do and hit "Apply".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
some problems with yum z.z! Fedora 3 07-14-2006 05:42 PM
Problems with yum monkiidansu Fedora 8 01-14-2006 06:48 PM
problems with yum realcr Linux - Software 3 09-01-2005 03:31 PM
yum problems canyon289 Linux - Software 4 12-02-2004 10:11 AM
more yum problems canyon289 Linux - Software 1 11-13-2004 01:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration