LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum/pirut problem on fedora core 6 (https://www.linuxquestions.org/questions/linux-newbie-8/yum-pirut-problem-on-fedora-core-6-a-551442/)

eugen.serban 05-05-2007 03:56 AM

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?!

Junior Hacker 05-05-2007 07:00 AM

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.

eugen.serban 05-06-2007 04:48 PM

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?

Junior Hacker 05-06-2007 06:35 PM

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.

eugen.serban 05-07-2007 03:02 AM

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...

jay73 05-07-2007 05:03 AM

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

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


All times are GMT -5. The time now is 01:32 AM.