[rhn-users] RPM doesn't work!

James P superfueld at charter.net
Wed Sep 8 17:26:37 UTC 2004


Later versions of RPM are kind of flaky. I have had this problem in 
the past and have always been abel to fix it by rebuilding the rpm 
database. Do this:

cd /var/lib/rpm
mv __db* ..
rpmdb --rebuilddb

It will take a few minutes to recreate the __db* files. Should work 
after that.

If something goes wrong, you can restore by moving the __db* files 
back to their original locations. Otherwise, you can remove them 
after the rebuild.

Mureika, Jonas wrote:
> I just received my brand new Dell Precision 470 workstation with RH WS 3.0 installed -- and RPM doesn't work either from the command line or the GUI package install program.  The process simply hangs and I can't even Ctrl-C it (have to use kill -9!).
> 
> Has anyone else had this problem, or can someone offer a solution?  It's very frustrating, as I feel that I may have received a bad OS install.  Thanks.
> 
> --JRM
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 





More information about the rhn-users mailing list