[SOLVED] CentOS 6.9 glibc multiple architecture

Issues related to applications and software problems
spiketechnics
Posts: 9
Joined: 2017/10/23 10:03:29

[SOLVED] CentOS 6.9 glibc multiple architecture

Postby spiketechnics » 2017/10/23 10:18:28

Hi,

We want to update our server, but we are receiving an error when updating glibc. It says: Multilib version problems found.

Code: Select all

[root@server ~]# yum list all glibc
Installed Packages
glibc.i686                      2.12-1.209.el6                         @base
glibc.x86_64                    2.12-1.209.el6                         @base
glibc.x86_64                    2.12-1.209.el6_9.2                     installed
Available Packages
glibc.i686                      2.12-1.209.el6_9.2                     updates


Code: Select all

[root@server ~]# rpm -qa | grep glibc
glibc-headers-2.12-1.209.el6.x86_64
glibc-2.12-1.209.el6.i686
glibc-common-2.12-1.209.el6_9.2.x86_64
glibc-common-2.12-1.209.el6.x86_64
glibc-debuginfo-common-2.12-1.166.el6_7.7.x86_64
glibc-devel-2.12-1.209.el6.x86_64
glibc-2.12-1.209.el6_9.2.x86_64
glibc-2.12-1.209.el6.x86_64
glibc-debuginfo-2.12-1.166.el6_7.7.x86_64



We are runnning CentOS 6.9 (Final) x64 .

What can I do to solve this?

Best regards,
Joost Lauwen
Last edited by spiketechnics on 2017/11/09 11:58:36, edited 2 times in total.

User avatar
TrevorH
Forum Moderator
Posts: 21171
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 glibc multiple architecture

Postby TrevorH » 2017/10/23 11:17:03

You forgot to post the actual error output.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

spiketechnics
Posts: 9
Joined: 2017/10/23 10:03:29

Re: CentOS 6.9 glibc multiple architecture

Postby spiketechnics » 2017/10/23 11:27:07

Sorry. Attached screenshot shows the error.
Schermafbeelding 2017-10-18 om 23.02.36.png
Schermafbeelding 2017-10-18 om 23.02.36.png (248.77 KiB) Viewed 324 times

chemal
Posts: 379
Joined: 2013/12/08 19:44:49

Re: CentOS 6.9 glibc multiple architecture

Postby chemal » 2017/10/23 15:02:26

Code: Select all

# rpm -qa | grep glibc
...
glibc-common-2.12-1.209.el6_9.2.x86_64
glibc-common-2.12-1.209.el6.x86_64
...
glibc-2.12-1.209.el6_9.2.x86_64
glibc-2.12-1.209.el6.x86_64


Your installation is broken: two versions of glibc.x86_64 are installed.

User avatar
TrevorH
Forum Moderator
Posts: 21171
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 glibc multiple architecture

Postby TrevorH » 2017/10/23 21:48:43

Post the output from package-cleanup --dupes

Oh, and please use text not images and post all of the output not just the last few lines.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

spiketechnics
Posts: 9
Joined: 2017/10/23 10:03:29

Re: CentOS 6.9 glibc multiple architecture

Postby spiketechnics » 2017/10/24 11:06:09

Code: Select all

[root@server ~]# package-cleanup --dupes
Loaded plugins: auto-update-debuginfo, fastestmirror
cups-libs-1.4.2-78.el6_9.x86_64
cups-libs-1.4.2-77.el6.x86_64
initscripts-9.03.58-1.el6.centos.x86_64
initscripts-9.03.58-1.el6.centos.2.x86_64
openssh-5.3p1-122.el6.x86_64
openssh-5.3p1-123.el6_9.x86_64
glibc-2.12-1.209.el6_9.2.x86_64
glibc-2.12-1.209.el6.x86_64
java-1.8.0-openjdk-headless-1.8.0.121-1.b13.el6.x86_64
java-1.8.0-openjdk-headless-1.8.0.144-0.b01.el6_9.x86_64
nss-util-3.28.4-1.el6_9.x86_64
nss-util-3.27.1-3.el6.x86_64
nss-sysinit-3.27.1-13.el6.x86_64
nss-sysinit-3.28.4-4.el6_9.x86_64
ca-certificates-2017.2.14-65.0.1.el6_9.noarch
ca-certificates-2016.2.10-65.4.el6.noarch
libacl-2.2.49-7.el6_9.1.x86_64
libacl-2.2.49-7.el6.x86_64
nss-3.28.4-4.el6_9.x86_64
nss-3.27.1-13.el6.x86_64
bind-libs-9.8.2-0.62.rc1.el6_9.4.x86_64
bind-libs-9.8.2-0.62.rc1.el6.x86_64
procps-3.2.8-45.el6.x86_64
procps-3.2.8-45.el6_9.1.x86_64
glibc-common-2.12-1.209.el6_9.2.x86_64
glibc-common-2.12-1.209.el6.x86_64


Sorry, I only had the screenshot with the error with me, no connection to the server.

User avatar
TrevorH
Forum Moderator
Posts: 21171
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 glibc multiple architecture

Postby TrevorH » 2017/10/24 11:37:47

OK, so that looks like you have had a yum update fail drastically - killed or otherwise. To recover from that, first backup the contents of /var/lib/rpm and /var/lib/yum then use rpm -e --nodeps --justdb $newerpackage on each one of the duplicate packages to remove ONLY the newer version of each one, leaving the older version alone. Once the duplicates have gone you should be able to rerun yum update and it will re-update to the newer versions and that will ensure that the new version is correctly installed.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

spiketechnics
Posts: 9
Joined: 2017/10/23 10:03:29

Re: CentOS 6.9 glibc multiple architecture

Postby spiketechnics » 2017/10/24 12:22:35

Yes, I was updating our software through PuTTY and suddenly the connection was lost and it said:
PuTTy: Software caused connection abort

This happend when updating glibc.

spiketechnics
Posts: 9
Joined: 2017/10/23 10:03:29

Re: CentOS 6.9 glibc multiple architecture

Postby spiketechnics » 2017/10/24 12:25:57

Can i just use this code rpm -e --nodeps --justdb $newerpackage or should I change the packagename at the end?

User avatar
TrevorH
Forum Moderator
Posts: 21171
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 glibc multiple architecture

Postby TrevorH » 2017/10/24 13:08:59

$newerpackage was meant to show that you needed to substitute the newer package name and version in the command.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke