Symptoms
Microsoft Azure's CentOS VM template appears to use their 'Traffic Manager/OpenLogic' system for the CentOS-Base.repo. If the repository is missing certain packages, it can cause multilib errors when yum is updating.
Description
We are seeing updates failing on certain Microsoft Azure systems when the libsss_idmap package is being updated. It attempts to pull in an updated version of the sssd-client package, however the 'Traffic Manager/OpenLogic' mirror does not have the package available.
The following error may be seen:
Protected multilib versions: libsss_idmap-1.16.5-10.el7_9.11.x86_64 !=
libsss_idmap-1.16.5-10.el7_9.10.i686
Error: Protected multilib versions: libsss_nss_idmap-1.16.5-10.el7_9.11.x86_64 !=
libsss_nss_idmap-1.16.5-10.el7_9.10.i686
(XID 3gh5tj) “/usr/bin/yum” reported error code “1” when it ended:
Workaround
The workaround would be to utilize a different mirror, for example:
/etc/yum.repos.d/CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://centos2.cpanel.net/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://centos2.cpanel.net/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://centos2.cpanel.net/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://centos2.cpanel.net/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7