Red HatThis forum is for the discussion of Red Hat Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Posts: 174
Rep:
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 "[1]" (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.[1]i586.rpm
Solution:
rename the file with mv:
mv kernel-smp-2.4.20-20.9.[1]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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.