LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-23-2007, 11:53 PM   #1
ace01000
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:

Code:
yum-2.4.1-1.fc4.noarch.rpm
python-urlgrabber-2.9.6-1.noarch.rpm
python-sqlite-1.1.6-1.i386.rpm
python-elementtree-1.2.6-4.i386.rpm
Now when I try to install something using yum it terminates, for example when I do 'yum list available' it says:

Code:
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 ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 516, in doCommands
Terminated
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, 01:39 AM   #2
Cereal765
Member
 
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, 02:56 AM   #3
jay73
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, 08: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:

Quote:
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".
 
  


Reply


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 06:42 PM
Problems with yum monkiidansu Fedora 8 01-14-2006 07:48 PM
problems with yum realcr Linux - Software 3 09-01-2005 04:31 PM
yum problems canyon289 Linux - Software 4 12-02-2004 11:11 AM
more yum problems canyon289 Linux - Software 1 11-13-2004 02:59 PM


All times are GMT -5. The time now is 10:40 PM.

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