PDA

View Full Version : Command RPM don't run



Avenueduweb
07-04-2004, 02:22 PM
Hello,

Please help me, my command rpm don't run in shell. When i write that in shell command :

# rpm -Uvh clamav*.rpm (or other command or other file)

My shell script stop. How do i reinstall rpm command ? Thanks. Bye.

DirectAdmin Support
07-04-2004, 02:44 PM
If it's hanging you can try:

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

then see if stops hanging.

John

Avenueduweb
07-04-2004, 02:55 PM
Thank you very much, it's good now ! Bye.

Icheb
07-04-2004, 10:18 PM
Originally posted by DirectAdmin Support
If it's hanging you can try:

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

then see if stops hanging.

John
Just curious, the first time i had this anywhere i went at it for a day to figure out what happend, kinda drove me insane ;)
But did they ever fix this bug in the more recent distro's ?

DirectAdmin Support
07-06-2004, 10:51 AM
I would really hope so :) ... but if it still happens, then I guess not.

John