LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-05-2007, 03:56 AM   #1
eugen.serban
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Rep: Reputation: 15
yum/pirut problem on fedora core 6


hi, i'm running fedora core 6. recently i couldn't start pirut (it gived me a bug or something like that), but after a reboot it worked fine... for a couple of days. now, pirut runs, i can select witch program to install, but when i pres aplply it crashes. take a look at what it says in the terminal:
Quote:
[root@localhost ~]# pirut
Loading "installonlyn" plugin
Segmentation fault
[root@localhost ~]#
kyum gives me the same error. when trying simply with yum it looks like this:
Quote:
[root@localhost ~]# yum install kde-i18n-Romanian
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
Segmentation fault
[root@localhost ~]#
kde-i18n-Romanian is the language suport for kde, but it gives me the same error at every program.

what sould i do?!
 
Old 05-05-2007, 07:00 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I'm not sure how accurate my assumption is, but usually a segmentation fault is caused by the software being used that is not working properly. It would seem yum is the problem. Maybe try removing yum and reinstalling it, preferably including any dependencies. I don't think it has any but you can query it's dependencies with rpm and remove/reinstall with rpm also.
 
Old 05-06-2007, 04:48 PM   #3
eugen.serban
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 15
ok... so how can i uninstall and reinstall yum if it's the only one i know?
can you give me the exact commands, pls?
 
Old 05-06-2007, 06:35 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Take a look in /var/log/rpmpkgs to see which version of yum is installed, also go to updates site via the link at the top of firefox to see if there is a newer version. Download the latest one at the Fedora update site for your architecture even if it is the same one that is installed, or if you have kept all updates in /var/cache/yum/updates/packages, then you will have it already. Remove the one installed with rpm erase command using the full name of the package which would probably be listed in /var/log/rpmpkgs with similar command:
Code:
rpm -e packagename.rpm
Then install the latest one via command line from the directory it is in with similar command:
Code:
rpm -ivh packagename.rpm
If the package at the update site is newer than the one installed, you can probably just update the installed one without erasing and reinstalling with similar command from the directory it is in:
Code:
rpm -Uvh packagename.rpm
As for finding out what all it's dependencies are you would have to read 'man rpm' to find how to query a package's dependencies, I know it can be done, but I've never had to do it.
 
Old 05-07-2007, 03:02 AM   #5
eugen.serban
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 15
this souldn't supose to happen, no?
Quote:
[root@localhost ~]# rpm -Uvh yum-3.0.6-1.fc6.noarch.rpm
Segmentation fault
and it gives me the same error for every package...
 
Old 05-07-2007, 05:03 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Have a look here, similar problem (and a solution!):

http://blog.co-comp.co.uk/archives/3...using-RPM.html
 
  


Reply



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
Pirut/Add Remove Packages problem in Fedora core 6 me4linux Fedora 3 04-02-2007 08:47 AM
Problem using yum and pirut SamuelHenderson Linux - Software 4 02-07-2007 12:02 PM
Fedora Core 6 YUM problem conectix Linux - Software 1 11-30-2006 05:52 AM
fedora core 5 yum problem monny Linux - Newbie 4 07-04-2006 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 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
Open Source Consulting | Domain Registration