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? Kai
I'm not sure, glibc-common*.i686 is on the [updates] section of the /etc/yum.repos.d/CentOS-Base.repo. Maybe priorities between the repos [base] and updates or [updates] "ENABLED=0" Take a look in - mirror.centos.org/centos/5/updates/x86_64/RPMS/ Your system version is CentOS 5 ? I'm sorry, my english is bad - rsrs" 2012/11/22 Kai Schaetzl <maillists at conactive.com>> 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? > > > Kai > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
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
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-0001.sig>
Johnny Hughes wrote on Thu, 22 Nov 2012 20:11:17 -0600: Thank you both for the replies. This was my own mistake combined with some depsolving weirdness of yum. I have 386 and 686 excluded from the repo's because of the greediness to install all versions of a package. At least in earlier versions of the 5.x series. When I first hit the error I checked and commented out the line. But there was no change with the error. I looked on mirror.centos.org and there was no glibc-common.i686. (Didn't look in updates then, but did now, there's really none.) My mistake was that I commented out the exclude for the base repo, but not for updates. After commenting out for updates there is no problem to get glibc.i686. And it doesn't ask for glibc-common. Seems there is a dependency in the i686 package that is resolved by the x86_64 package of glibc-common, but as I was accidentally trying to install an older version of glibc.i686 the installed newer version didn't match. Kai