Justin,
I have not see this error "rpmdb open failed" myself, but this thread
might be related
I got this error msg myself back in 2007:
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
and this method recovered the db for me:
rm -f /var/lib/rpm/__db*
db_verify /var/lib/rpm/Packages
rpm --rebuilddb
The last posting in [1] from Mark, dated 2006, stated that the last
step (rpm --rebuilddb) should be replaced by reboot. If reboot does
not resolve the issue, then try "rpm --rebuilddb".
Are you fixing the issue as posted by alienslag (2009-07-17)? If so
you should follow oldold's post (2009-08-29).
Cheers,
Tim Taiwanese Liim