Empulse Group a collection of notes from a sys admin, musician, and father

3Apr/080

RPM Database Corruption

So I recently came across a situation where rpm would just hang or give out transaction errors. It turns out that the database cache files became corrupt. Here is an example of one of the errors:

warning: waiting for transaction lock on /var/lock/rpm/transaction

# cd /var/lib/rpm

Look for the files that start with double underscores "__". These are the cache files, and you will want to delete all of them.

# rpm __*

# rpm --rebuilddb

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.