Link to home
Start Free TrialLog in
Avatar of egley
egley

asked on

fixing corrupted rpm database

Anyone know how to recover from an rpm install fail? I tried to do an upgrade on a package, it failed and did a core dump, and now it appears to have corrupted the rpm database. Any kind of rpm command just hangs.

THanks,
Skip Egley
ASKER CERTIFIED SOLUTION
Avatar of splishsplash
splishsplash

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if the rpm database is corrupt beyond repair or recovery then try:

rpm --initdb

This will create a new rpm database. I advise caution before simply creating a new rpm database
Avatar of egley
egley

ASKER

Thank you very much, worked like a charm!

I would also like to thank the other person (sorry forgot your 'handle' and can't get back to the previous screen).

If I ever figure out how to split points, I would do that.

Skip Egley