原创

yum更新提示保护多库版本

1.yum update 的时候保一下错误

---> 软件包 libcap-ng.i686.0.0.7.5-4.el7 将被 安装
--> 解决依赖关系完成
错误: 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 xz-libs which is missing some
           dependency that another package requires. Yum is trying to
           solve this by installing an older version of xz-libs 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 xz-libs.otherarch ... this should give you an error
           message showing the root cause of the problem.

        2. You have multiple architectures of xz-libs 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 xz-libs 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).

      保护多库版本:xz-libs-5.2.2-1.el7.i686 != xz-libs-5.1.2-12alpha.el7.x86_64
错误:保护多库版本:pam-1.1.8-22.el7.i686 != pam-1.1.8-12.el7_1.1.x86_64

1)错误信息里面也说了 怎么解决 ...you can also use --setopt=protected_multilib=false to remove就行了所以执行下命令
yum update --setopt=protected_multilib=false

即可

正文到此结束
本文目录