[CentOS] yum problem with glibc

Wed May 23 21:41:39 UTC 2012
Timothy Murphy <gayleard at eircom.net>

Johnny Hughes wrote:

>> -------------------------------
>> Error: Protected multilib versions: glibc-2.12-1.47.el6_2.12.x86_64 !=
>> glibc-2.12-1.47.el6_2.9.i686
>> ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
>> bash-4.1.2-9.el6_2.x86_64 is a duplicate with
>> bash-4.1.2-8.el6.centos.x86_64 glibc-common-2.12-1.47.el6_2.12.x86_64 is
>> a duplicate with glibc- common-2.12-1.47.el6_2.9.x86_64
>> glibc-common-2.12-1.47.el6_2.12.x86_64 has missing requires of glibc =
>> ('0', '2.12', '1.47.el6_2.12')
>> -------------------------------
>> I've tried "rpm --rebuilddb" but that did not seem to help.
>> Any suggestions or advice gratefully received.

> You have both the i686 and x86_64 versions of glibc installed.  That
> error means that the repo you are trying to update from has a different
> version of i686 glibc and x86_64 glibc ... or you are trying to upgrade
> one (the x86_64 version) and not the other (the i686 version).
> Since multilib installs share some files (all the Documentation, etc.),
> that means you must install the same version of each arch if you install
> both i686 and x86_64 packages.

Thank you very much for your response.

But I'm afraid I'm not clear what action I can take.
I don't like to remove any glibc or glibc-common packages,
as I'm afraid it might have a disastrous effect,
since they seem to be required by so many other packages,
including the kernel.

I'm slightly puzzled how the system got in this position,
as I have never said anything except "yum upgrade",
and the repos I have enabled all seem harmless,
though there are several of them:
[adobe-linux-x86_64, CentOS-CR (cr), epel, kbs-CentOS-Extras, rpmforge.

The system (which is in another country) seems to be running fine.
If I leave it will it sort itself out in time?

Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin