Description of problem: When using ANY operation involving the rpm command (rpm, or apt-get), rpm hangs giving this output: rpmdb:unable to join environment error:db4 error(11) from dbenv->open:resource temporarily unavailable (11) error:cannot open Packages database in /var/lib/rpm This happens when 4/5 rpm commands are issued. Upon reboot rpm works, but breaks after a few usages: I tried to download all of the 4.2-1 packages at rpm.org and I could install them after rebooting. Then I tried rpm -qa to see if anything changed, but it hanged. I rebooted another time and it worked for three rpm -qa | grep <name>, then stopped. Version-Release number of selected component (if applicable): rpm 4.2-1 How reproducible: always Steps to Reproduce: 1.use the rpm command a few times (few lower than 10) 2.rpm hangs 3. Actual results: Expected results: Additional info:
Try rm -f /var/lib/rpm/__db* Does that fix?
I have tried it (i read the page on rpm.org) and this far everything looks good, but I must say I didn't make an intensive use of RPM. But I'm optimistic :-) Thank you for now!