From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 Description of problem: The following happened on the systems which I upgraded from 7.2 or 7.3 to 9.0 root@potomac irina]# rpm --rebuilddb error: db4 error(16) from dbenv->remove: Device or resource busy Version-Release number of selected component (if applicable): rpm-4.2-0.69 How reproducible: Always Steps to Reproduce: 1.rpm --rebuilddb 2. 3. Actual Results: error: db4 error(16) from dbenv->remove: Device or resource busy Expected Results: get a prompt back Additional info:
This is a dupe of I-don't-know-how-many other bugs. It's a harmless error, just ignore it.
Yup. Error message is harmless, ignore, as it says in countless other reports.
HOw could this bug be harmless if I do not get a prompt back??? How do I know if rpm databased was rebuilt or not? [root@potomac irina]# rpm --rebuilddb No prompt back! ^C does not work, window is frozen! NO way it is a hramless bug Irina Kaliman, System and Network Administrator University of Miami, Computer Science department
In that situation, use another terminal (for example, another ssh session or another X terminal window) to run "top" and see if rpm --rebuilddb is using tons of CPU time. If it's using lots of CPU it's almost certainly rebuilding the database. If it's not using CPU time but it's not returning to the prompt either, then that's a problem. The "harmless bug" is the db4 error that gets displayed. That error should appear very near the end of the rebuild, and the prompt should then come back almost immediately after the error (or at least within several seconds of the error). Are you saying that you don't get the prompt back after the db4 error shows up? That would be a different problem or bug than the "harmless" one Jeff and I are talking about.