[CentOS] cannot install glibc.i686 on x86_64

Fri Nov 23 02:11:17 UTC 2012
Johnny Hughes <johnny at centos.org>

On 11/22/2012 07:05 PM, Kai Schaetzl wrote:
> I cannot install glibc.i686 on a x86_64 system because I get 
>
> Error: Missing Dependency: glibc-common = 2.5-81 is needed by package 
> glibc-2.5-81.i686 (base)
>
> glibc-common.x86_64 is installed, but it's apparently looking for i686.
> There's indeed no glibc-common for i686.
> There's also glibc.i386 and glibc-common.i386 available, but I think I 
> don't need them.
>
> I have other x86_64 systems that have an installed glibc.i686 and no 
> glibc.i386 and glibc-common.i386. I don't remember how I did that, 
> probably on first install.
>
> How do I get glibc.i686 with yum on the system?

That is NOT the latest version of glibc.i686 .. it is the version that
is in CentOS 5.8, but have been 4 updates to the CentOS-5.8 glibc since
then.

The one thing you are going to need to do is to have the same version of
glibc.i686 that you have for glibc.x86_64.

If you really do have 2.5-81 and not glibc-2.5-81.el5_8.1 (or .2, .4, or
.7) then it should install just fine.  I would bet you have a different
version of glibc.x86_64 ... what does this tell you:

rpm -qa | grep glibc | sort

(pay particular attention to see if there is a number after "-81")

And this is a requirement for any multi-lib package, not just glibc ...
one should use the same i[3,6]86 package version as the installed x86_64
version to get the install to work correctly.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20121122/73262f78/attachment-0005.sig>