CentOS: How to fix error: Protected multilib versions: package.i686 != package.x86_64

Example Error:

Protected multilib versions: audit-libs-2.8.5-4.el7.i686 != audit-libs-2.8.4-4.el7.x86_64

Check in yum

yum list|grep -i audit-libs

You will see a old verion x86_64 installed and 2 new versions (one x86_64 and one i686) available in yum like:

[root@tutorialspots ~]# yum list|grep -i audit-libs
audit-libs.x86_64                        2.8.4-4.el7                  @base
audit-libs.x86_64                        2.8.5-4.el7                  installed
audit-libs-python.x86_64                 2.8.5-4.el7                  @base
audit-libs.i686                          2.8.5-4.el7                  base
audit-libs-devel.i686                    2.8.5-4.el7                  base
audit-libs-devel.x86_64                  2.8.5-4.el7                  base
audit-libs-static.i686                   2.8.5-4.el7                  base
audit-libs-static.x86_64                 2.8.5-4.el7                  base


Method 1: remove old version

yum remove -y audit-libs.x86_64

or remove only this package (no remove dependencies)

rpm -e --nodeps audit-libs-2.8.4-4.el7.x86_64

Method 2: update yum

yum update

Leave a Reply