LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RPM problem (https://www.linuxquestions.org/questions/linux-software-2/rpm-problem-69859/)

hrishikesh 07-03-2003 01:08 PM

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

parsecbyproxy 07-03-2003 01:21 PM

Try:

$ su
# rm -f /var/lib/rpm/__db*
# rpm -v --rebuilddb

hrishikesh 07-03-2003 01:24 PM

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

camelrider 07-03-2003 01:29 PM

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.

hrishikesh 07-03-2003 01:37 PM

I got the following error for the "rpm --rebuilddb" command

error: db4 error(16) from dbenv->remove: Device or resource busy

-hrishikesh

parsecbyproxy 07-03-2003 02:20 PM

kill rpm first, then use:

# rpm -v --rebuilddb

with the "v" option, so you can "watch" the rebuild (to be sure it's working)...

DrOzz 07-03-2003 11:25 PM

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.