Monday, November 27, 2006

when attempting to run YUM the following error (also an error in YUMEX):
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm

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

note: there are two underscores in from of the "db"
more at: