February 03, 2009

YUM segmentation fault in fedora 10 >>> It's Fix

the Problem

While I was updating my fedora 10. I accidentally restarted my PC.
after restating the PC. I tried to update the packages by package managers it takes too long.
I used the # yum update  command it give me the error message "Segmentation fault" and aborts.

I searched for the solution and found this one.

the reason

this error is a result of a corruption in RPM Database Files located int /var/lib/rpm/
 
how i fixed it

by executing the following commands ( while I'm root )

# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb

It worked for me hope it works for you too ;)

more details about this problem and RPM DB Recovery

RPM DB Recovery in Details (RHEL 3 )

Working With the RPM Database (Fedora)

How to "repair" /var/lib/rpm/Packages

the solution posted here was found in the following link
yum Segmentation fault

2 comments:

Anonymous said...

ismailialug.blogspot.com; You saved my day again.

Anonymous said...

i easily enjoy all your posting type, very unique.
don't quit as well as keep posting considering the fact that it just simply nicely to follow it,
excited to look into way more of your content pieces, have a great day :)