From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.2-15mdk i686) Description of problem: all rpm operations (including simple ones like rpm -q package) fail after disk space is exhausted. the problem continues even when more disk space is available later. removing a file /var/lib/rpm/__db.001 (zero size, presumably libdb temp file) fixes the problem. Version-Release number of selected component (if applicable): How reproducible: Sometimes Steps to Reproduce: 1. fill up disk containing /var/lib/rpm so that there is no space remaining 2. run rpm -qa (it fails with an error message) 3. free up some disk space 4. run rpm -qa (it still fails with an error message, see below) Actual Results: rpmdb: unable to join the environment error: db3 error(11) from dbenv->open: Resource temporarily unavailable error: cannot open Packages index using db3 - Resource temporarily unavailable (11) Expected Results: rpm prints out list of packages Additional info: removing the file /var/lib/rpm/__db.001 (zero size, presumably libdb temp file) fixes the problem
Try rm -f /var/lib/rpm/__db* rpm --rebuilddb Please reopen this bug if the above does not fix.