Hello All,

I can't seem to get my rpms to work.

I searched around and found some helpful stuff, but it aint working for me.

I am running a RH9 server...here is the original error I get when trying to install an rpm:
rpmdb: fatal region error detected; run recovery
error: db4 error(-30982) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30982)
error: cannot open Packages database in /var/lib/rpm
so, I tried this:

rpm --rebuilddb
rpm --initdb
that throws this error:

error: db4 error(16) from dbenv->remove: Device or resource busy

someone suggested I add this:
export LD_ASSUME_KERNEL=2.2.5

So I did, but that doesn't do anything either.

Any help would be greatly appreciated!