RPM Database Problems

From K12LTSP Wiki

Jump to: navigation, search

Here is an excerpt from an e-mail message I found while searching the internet for help with RPM errors:

The only time I've seen lost/missing headers was after a segfault, the
following commands should prevent
rm -f /var/lib/rpm/''''db*
rpm --rebuilddb -vv
In fact, the above should be done after every rpm segfault

http://www.redhat.com/archives/enigma-list/2002-March/msg01442.html

This has helped me recover from many RPM errors, espically when just rpm --rebuilddb would fail.

Personal tools