LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RPM Database problem (https://www.linuxquestions.org/questions/red-hat-31/rpm-database-problem-89306/)

BajaNick 09-04-2003 03:54 PM

RPM Database problem
 
I keep getting this "error: db4 error(16) from dbenv->remove: Device or resource busy" when i try to rpm --rebuilddb. I have already removed the __db. files.

david_ross 09-04-2003 04:00 PM

Make sure that you don;t have any other rpm proccesses running and that you are logged in as root.

Did you manage to remove any of the packages? (going back to another thread)

DrOzz 09-04-2003 04:20 PM

that is a bug in redhats rpm...so you can go look at this thread

BajaNick 09-04-2003 05:25 PM

I removed 2 things but im not sure what they were after they came up when i did the rpm grep thing you suggested in the other post. Then i did the rebuild and it seems to have worked but how do i know?

DrOzz 09-04-2003 07:48 PM

i am not sure i follow cause i don't remember suggesting rpm grep anything...and you say you did the rebuild and not sure if it worked...well all i can say is that if you didn't pass the verbose argument (-v), which would show what rebuild was doing, and if you were put back to the command line without error, then it finished...if you wanna see it in action then you would issue::
rpm -vv --rebuilddb and you could watch it from start to finish..

BajaNick 09-04-2003 10:01 PM

Oh that was directed to David ross.
Thanks Drozz for the info on the bug, I did the rebuilddb with the -vv switch but how do i know if its really ok now cuz when i do the rebuilddb without the -vv switch i still get the above error, when i do it with -vv i dont get the error. is there a way to check to make sure the rpm db is good? Thanks

misc 09-05-2003 03:46 AM

"error: db4 error(16) from dbenv->remove: Device or resource busy" is a bug and annoying, but harmless. You can ignore it.

See: http://bugzilla.redhat.com/bugzilla/...g.cgi?id=83281


All times are GMT -5. The time now is 12:36 AM.