[CentOS] cannot install glibc.i686 on x86_64

Fri Nov 23 01:53:42 UTC 2012
Robert Heller <heller at deepsoft.com>

At Fri, 23 Nov 2012 02:05:47 +0100 CentOS mailing list <centos at centos.org> 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.

No, this is what you need to run 32-bit apps (on an up-to-date 64-bit
CentOS 5 system) [note: the -devel rpms are optional]:

sauron.deepsoft.com% rpm -qa --queryformat "%{name}-%{version}-%{release}.%{arch}\n" glibc\*
glibc-devel-2.5-81.el5_8.7.x86_64
glibc-common-2.5-81.el5_8.7.x86_64
glibc-devel-2.5-81.el5_8.7.i386
glibc-headers-2.5-81.el5_8.7.x86_64
glibc-2.5-81.el5_8.7.i686
glibc-2.5-81.el5_8.7.x86_64

The %{release}s need to match!


> 
> 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?

Make sure you are installing the proper version and have the base AND
updates repos enabled.

> 
> 
> Kai
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                               

-- 
Robert Heller             -- 978-544-6933 / heller at deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments