azure centos 更新 : Error: Multilib version problems found. libsss_idmap

标签 azure centos centos7

Azure centos 7 VM 有更新问题,发现 libsss_idmap 的 Multilib 版本问题
错误:发现 Multilib 版本问题。这通常意味着根
原因是别的,多库版本检查只是
指出有问题。例如。:

     1. You have an upgrade for libsss_idmap which is missing some
        dependency that another package requires. Yum is trying to
        solve this by installing an older version of libsss_idmap 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 libsss_idmap.otherarch ... this should give you an error
        message showing the root cause of the problem.

     2. You have multiple architectures of libsss_idmap 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 libsss_idmap 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: 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

最佳答案

编辑 CentOS-Base.repo 并注释掉 MS Azure trafficmanager.net URL。

sudo vi /etc/yum.repos.d/CentOS-Base.repo
用 (#) baseurl 注释掉并删除 mirrorlist 的注释
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://olcentgbl.trafficmanager.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://olcentgbl.trafficmanager.net/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
归功于二进制流:https://forums.centos.org/viewtopic.php?f=47&t=78483&sid=ca05b4af61e270f4cc074f1f2105d088&start=10

关于 azure centos 更新 : Error: Multilib version problems found. libsss_idmap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70267304/

相关文章:

azure - 获取 azurerm_linux_virtual_machine_scale_set 的 IP 地址作为输出

c# - Azure功能与Servicebus如何不将消息标记为完成

azure - 在 Azure 上使用 asp.net session 的推荐方法

javascript - CasperJS 不适用于 Centos 服务器,但适用于 Windows 10

python - Apache 寻找 Python 2.6 而不是 2.7

azure - 如何在 Azure 中创建匿名函数应用程序?

docker - 如何在 Jelastic 环境中部署的 CentOS 8 镜像上启用端口自动重定向?

node.js - CentOS VPS中无法通过IP访问nodeJS App

python - 自动更新证书时,centos 7 的 crontab 中的 python 代码有什么用?

docker - 不允许使用Docker CentOS systemctl