成都论坛

更新时出现:Multilib version problems问题的解决方法

[复制链接]

1275

主题

1275

帖子

1013

积分

金牌会员

Rank: 6Rank: 6

积分
1013
分享到:
发表于 2021-11-2 15:40:00 | 显示全部楼层 |阅读模式

# 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 ResolutionError: 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_64Error: Protected multilib versions: pcre-8.32-17.el7.i686 != pcre-8.32-15.el7_2.1.x86_64Error: Protected multilib versions: elfutils-libs-0.168-8.el7.i686 != elfutils-libs-0.166-2.el7.x86_64......//查询重复的软件包# rpm -q systemd-libssystemd-libs-219-30.el7.x86_64systemd-libs-219-42.el7_4.1.x86_64//删除旧版# rpm -e systemd-libs-219-30.el7.x86_64error: Failed dependencies: systemd-libs = 219-30.el7 is needed by (installed) libgudev1-219-30.el7.x86_64//仍然出现依赖问题,继续查询libgudev1的版本信息# rpm -q libgudev1libgudev1-219-30.el7.x86_64//发现只有一个版本,升级试一下# yum update libgudev1......Updated: libgudev1.x86_64 0:219-42.el7_4.1                              Complete!# rpm -q libgudev1libgudev1-219-42.el7_4.1.x86_64//升级完成后,删除旧版本的systemd-libs# rpm -e systemd-libs-219-30.el7.x86_64# rpm -q systemd-libssystemd-libs-219-42.el7_4.1.x86_64rpm -q package-namesrpm -e package-full-version总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值。
云专线是用来建立企业自有数据中心到公有云的高速、稳定、安全的专用连接通道,在充分利用公有云服务优势的同时,继续利用现有的IT设施,实现灵活的一体化,可扩展的混合云计算环境。


快速回复 返回顶部 返回列表