Duplicate entries in RPM database -- different architectures
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.
Duplicate entries in RPM database -- different architectures
I'm running RHEL 4.0 a Dell server (PE 6650), and I've discovered something: there are a few packages that are listed twice in the RPM database. an example would be glibc. I ran rpm -qi glibc and both packages get listed. Based on what I can see, one is x6-64 architecture (what I want) and one is i386 architecture. (I determined this based on the build host and checking Red Hat's site).
How they both got there is less important to me than how to remove the i386 package. They're both the same version (glibc-2.3.4-2.13), so I can't specify that way. If I run rpm --erase glibc-2.3.4-2.13, I get the following error:
error: "glibc-2.3.4-2.13" specifies multiple packages
Any suggestions?
(I found one related article that discussed removing multiple Quake packages, but I dont' wan to remove all of them, just one...)
The x86 (i386, i686) version may or may not be required by your system, it would be a good idea to check first then remove if OK to do so. Notice the command I used to show you all the glibc packages installed and the full names of them.
So, first test if removing the x86 version of the would be OK, notice that the ARCH has added to the command being used;
If you get no warnings back then you can remove the package(s) simply by removing the --test switch from the command in the example above. Otherwise it would be a good idea to leave them in place.
I have seen some web pages say that multiple installs are at least not bad, but haven't seen that they can be beneficial. With your information, I should be able to remove the duplicates if it becomes necessary. So far, I haven't seen any problems, so I'll leave them until/unless something goes wrong.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Well it is kind of hard to run some 32-bit applications without the 32-bit libs, since OpenOffice (for example) is only 32-bit you need the required 32-bit libs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.