Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
My RedHat 9 system hangs when using most "rpm" commands. I first noticed it when attempting to install VNC, but it seems to hang when using any rpm command. I've tried using the command "rpm --rebuilddb", but it hangs then, too.
No, I ran it as root. I did, however, figure out what the problem was. When I attempted to delete the db files from /var/lib/RPM/Packages, I didn't use a double underscore in the file name. Once I corrected that, your solution worked. Thanks for your help.
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
This problem should have been fixed in RHL9 (make sure your up2date on your rpm version), however, another common pitfall I see is that people download rpm files with Internet Exploder (spelling is correct) and the browser with insert a "" (or similar) into the filename.
Here is an example:
file name: kernel-smp-2.4.20-20.9.i586.rpm
IE downloaded name: kernel-smp-2.4.20-20.9.i586.rpm
rename the file with mv:
mv kernel-smp-2.4.20-20.9.i586.rpm kernel-smp-2.4.20-20.9.i586.rpm
Then install the rpm.... rpm -ivh kernel-smp-2.4.20-20.9.i586.rpm.
Just wanted to bring this common pitfall out, it's hard to notice sometimes.