Description of problem: I had RH 8, then i upgraded to Phoebe, the rpm database started to give problems, i had to follow the instructions on this website : http://www.rpm.org/hintskinks/repairdb/ but that did not work as when i ran "rpm --rebuilddb" command i got this error : error: db4 error(11) from dbenv->open: Resource temporarily unavailable The same error is thrown by Ximian Red-Carpet AFTER the upgrade to Phoebe, before it worked fine. Thanks.
rpm-4.2 uses posix mutexes for locking, so you need to remove the database environment rm -f /var/lib/rpm/__db* Red Carpet uses librpm404, which does not use posix mutexes, so you are going to have interoperability problems until Red Carpet starts to use rpm-4.1 or later.