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.
|
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) |
that is a bug in redhats rpm...so you can go look at this thread
|
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?
|
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.. |
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 |
"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. |