CentOS 7更新时出现Multilib version problems

原创 2017年10月07日 08:14:20

这两天在更新CentOS7系统时,出现了Multilib version problems错误,执行命令:

# yum update


---> Package libcap-ng.i686 0:0.7.5-4.el7 will be installed
---> Package libstdc++.i686 0:4.8.5-16.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 glibc which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of glibc 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 glibc.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of glibc 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 glibc 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: glibc-2.17-196.el7.i686 != glibc-2.17-157.el7_3.1.x86_64
Error: Protected multilib versions: pcre-8.32-17.el7.i686 != pcre-8.32-15.el7_2.1.x86_64
Error: Protected multilib versions: elfutils-libs-0.168-8.el7.i686 != elfutils-libs-0.166-2.el7.x86_64


# rpm -q systemd-libs

# rpm -e systemd-libs-219-30.el7.x86_64
error: Failed dependencies:
    systemd-libs = 219-30.el7 is needed by (installed) libgudev1-219-30.el7.x86_64

# rpm -q libgudev1

# yum update libgudev1
  libgudev1.x86_64 0:219-42.el7_4.1                                                                                                                                                                                                                                             

# rpm -q libgudev1

# rpm -e systemd-libs-219-30.el7.x86_64
# rpm -q systemd-libs


rpm -q package-names
rpm -e package-full-version
版权声明:原创文章,欢迎转载,转载请注明出处和原文链接 http://blog.csdn.net/mydeman/article/details/78168014

CentOS - yum Multilib Version Problems Found

Sometimes when you use "yum" to install a package, you get the following errors: # yum install ...
  • zhuxiang203
  • zhuxiang203
  • 2014年08月23日 17:22
  • 6043

【解决】yum 安装 出错 Error: Protected multilib versions:

我安装zlib出错: yum install zlib-1.2.3-29.el6.i686 Error: Protected multilib versions: zlib-1.2.3-29.el6...
  • qianlong4526888
  • qianlong4526888
  • 2013年07月26日 16:01
  • 27340


yum install zlib错误: Multilib version problems found. This often means that the root cause is s...
  • u012643122
  • u012643122
  • 2016年11月02日 12:20
  • 2446

yum install error: protected multilib versions error

 Error:  Multilib version problems found. This often means that the root        cause is somethi...
  • u013124888
  • u013124888
  • 2017年02月08日 17:21
  • 1207


  • qianlong4526888
  • qianlong4526888
  • 2014年10月15日 11:29
  • 37355

解决yum安装报错Protected multilib versions

今天在云服务器上装nginx,需要先安装一些依赖库比如zlib, ,但是安装zlib时候报错。yum install -y zlib zlib-devel(-y 指的是如果需要选yes no的自动y...
  • shouldnotappearcalm
  • shouldnotappearcalm
  • 2017年03月20日 23:16
  • 1812

yum 安装 Error: Protected multilib versions:

用yum安装新的东西的时候会遇到这样的问题以及类似的问题: Protected multilib versions: libcurl-7.33.0-1_itk.x86_64 != libcurl-7...
  • u010069176
  • u010069176
  • 2016年03月08日 14:30
  • 681

Linux yum 安装 Error: Protected multilib versions

原因: 多个库共存冲突 解决: yum -y install libXt.i686 改为 yum -y install libXt.i686 --setopt=protected_mul...
  • maxracer
  • maxracer
  • 2016年04月21日 15:04
  • 1224


  • 2017年07月11日 11:09
  • 668KB
  • 下载


在使用ambari进行安装部署过程中遇到的glibc问题 使用 yum check rpm -e rpm -q 处理问题 报错信息如下: stderr: Traceback (most r...
  • zhang50303
  • zhang50303
  • 2018年01月09日 14:33
  • 81
您举报文章:CentOS 7更新时出现Multilib version problems