RPM problem
Hi,
I have a problem with RPM on red hat 9.0 When i give an RPM command with any options for any rpm file, It doesnt respond at all. The cursor keeps blinking in the terminal window with no action taken. Can neone help me please ? -hrishikesh |
Try:
$ su # rm -f /var/lib/rpm/__db* # rpm -v --rebuilddb |
I tried this ..
But again no response to the last rpm -v command. I am not able to install, uninstall, upgrade any rpm packages. -hrishikesh |
the "rpm --rebuilddb" command takes quite a while to execute. Maybe 10-15 minutes or more, depending on the size of your installation and the speed of your CPU and disk access. If your hard-drive light is showing activity, the command is probably trying to do it's job.
|
I got the following error for the "rpm --rebuilddb" command
error: db4 error(16) from dbenv->remove: Device or resource busy -hrishikesh |
kill rpm first, then use:
# rpm -v --rebuilddb with the "v" option, so you can "watch" the rebuild (to be sure it's working)... |
did you atleast try to install the rpm again....cause typically all you have to do is remove them __db.* files...so after you do that, just give it a try before you proceed with the rebuild.
|
All times are GMT -5. The time now is 12:34 AM. |