"Error: Multilib version problems found" while installing libuuid-devel

General support questions
Post Reply
reacharavindh
Posts: 2
Joined: 2018/11/03 14:51:08

"Error: Multilib version problems found" while installing libuuid-devel

Post by reacharavindh » 2018/11/03 15:01:51

Hello.

I have a CentOS 7 box that is not completely under my administration. I do not possess the knowledge of what the other admin had installed.

When I try to install libuuid-devel package, I get hit by the following error.

Code: Select all

[root@masked ~]# yum install libuuid-devel.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cuegee.de
 * epel: ftp.uni-stuttgart.de
 * extras: ftp.tu-chemnitz.de
Resolving Dependencies
--> Running transaction check
---> Package libuuid-devel.x86_64 0:2.23.2-52.el7 will be installed
--> Processing Dependency: libuuid = 2.23.2-52.el7 for package: libuuid-devel-2.23.2-52.el7.x86_64
--> Running transaction check
---> Package libuuid.i686 0:2.23.2-52.el7 will be installed
--> Finished Dependency Resolution
Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
       
         1. You have an upgrade for libuuid which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of libuuid of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude libuuid.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of libuuid installed, but
            yum can only see an upgrade for one of those architectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
       
         3. You have duplicate versions of libuuid installed already.
            You can use "yum check" to get yum show these errors.
       
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: libuuid-2.23.2-52.el7.i686 != libuuid-2.23.2-52.el7_5.1.x86_64


Now, I searched this forum already, and found a similar problem/solution. But, I don t quite understand how it applies to my issue and how to resolve it. Appreciate any help with understanding what is going on.

I can see that only libuuid.x86_64 is installed. and NOT the i686 version.

Code: Select all

root@masked ~]# yum info libuuid
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cuegee.de
 * epel: ftp.uni-stuttgart.de
 * extras: ftp.tu-chemnitz.de
Installed Packages
Name        : libuuid
Arch        : x86_64
Version     : 2.23.2
Release     : 52.el7_5.1
Size        : 20 k
Repo        : installed
From repo   : updates
Summary     : Universally unique ID library
URL         : http://en.wikipedia.org/wiki/Util-linux
License     : BSD
Description : This is the universally unique ID library, part of util-linux.
            : 
            : The libuuid library generates and parses 128-bit universally unique
            : id's (UUID's).  A UUID is an identifier that is unique across both
            : space and time, with respect to the space of all UUIDs.  A UUID can
            : be used for multiple purposes, from tagging objects with an extremely
            : short lifetime, to reliably identifying very persistent objects
            : across a network.
            : 
            : See also the "uuid" package, which is a separate implementation.

Available Packages
Name        : libuuid
Arch        : i686
Version     : 2.23.2
Release     : 52.el7
Size        : 81 k
Repo        : base/7/x86_64
Summary     : Universally unique ID library
URL         : http://en.wikipedia.org/wiki/Util-linux
License     : BSD
Description : This is the universally unique ID library, part of util-linux.
            : 
            : The libuuid library generates and parses 128-bit universally unique
            : id's (UUID's).  A UUID is an identifier that is unique across both
            : space and time, with respect to the space of all UUIDs.  A UUID can
            : be used for multiple purposes, from tagging objects with an extremely
            : short lifetime, to reliably identifying very persistent objects
            : across a network.
            : 
            : See also the "uuid" package, which is a separate implementation.

However, when I try to install devel package, it somehow finds the i686 package and complains about it?

Code: Select all

root@masked ~]# yum deplist libuuid.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cuegee.de
 * epel: ftp.uni-stuttgart.de
 * extras: ftp.tu-chemnitz.de
package: libuuid.x86_64 2.23.2-52.el7
  dependency: /sbin/ldconfig
   provider: glibc.x86_64 2.17-222.el7
   provider: glibc.i686 2.17-222.el7
  dependency: ld-linux-x86-64.so.2()(64bit)
   provider: glibc.x86_64 2.17-222.el7
  dependency: ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
   provider: glibc.x86_64 2.17-222.el7
  dependency: libc.so.6(GLIBC_2.4)(64bit)
   provider: glibc.x86_64 2.17-222.el7
  dependency: rtld(GNU_HASH)
   provider: glibc.x86_64 2.17-222.el7
   provider: glibc.i686 2.17-222.el7

I ran the query based on the other forum post: viewtopic.php?t=67121

Code: Select all

[root@masked ~]# yum list libuuid-2.23.2-52.el7 --noplugins --showdupli
Available Packages
libuuid.i686                                                2.23.2-52.el7                                              base
libuuid.x86_64                                              2.23.2-52.el7                                              base
How do I make the package libuuid-devel not look at i686 packages and proceed with the install?

Thanks!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: "Error: Multilib version problems found" while installing libuuid-devel

Post by TrevorH » 2018/11/03 15:17:50

Your 'updates' repo seems to be disabled so it's only finding the non-updated versions of the 32 bit packages from the base repo when the 64 bit versions that are already installed come from updates and are newer. Enable the updates repo then run `yum update` to get everything that's currently installed up to date then install the things you wanted to install in the first place. You can either run `yum --enablerepo updates $whatever` which enables it for the duration of that one command or you can edit /etc/yum.repos.d/CentOS-Base.repo and flip the enabled= line from 0 to 1.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

reacharavindh
Posts: 2
Joined: 2018/11/03 14:51:08

Re: "Error: Multilib version problems found" while installing libuuid-devel

Post by reacharavindh » 2018/11/05 08:59:13

Thanks for the response.

That was exactly it. The other admin had disabled Updates for some reason, and re-enabling it made the conflict go away.

/ Aravindh

Post Reply