CentOS 7更新时出现:Multilib version problems问题的解决方法
发表于:2026-11-01 作者:千家信息网编辑
千家信息网最后更新 2026年11月01日,前言关于CentOS的出身就不多多说了,拥有RHEL所有功能和性能,甚至更加友好,最重要一点是免费,深受大家的喜爱,CentOS的受欢迎程度并不亚于Ubuntu,之前安装了CentOS7,关于安装的教
千家信息网最后更新 2026年11月01日CentOS 7更新时出现:Multilib version problems问题的解决方法
前言
关于CentOS的出身就不多多说了,拥有RHEL所有功能和性能,甚至更加友好,最重要一点是免费,深受大家的喜爱,CentOS的受欢迎程度并不亚于Ubuntu,之前安装了CentOS7,关于安装的教程,有需要的朋友们可以参考这篇文章:https://www.jb51.net/article/95263.htm ,下面话不多说了,来一起看看详细的介绍吧。
发现问题
最近这两天在更新CentOS7系统时,出现了Multilib version problems错误,执行命令:
# 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_64
最后查询发现只剩下最新版本的systemd-libs,其他重复版本包的解决,也是同样的过程。
核心的命令主要是:
rpm -q package-namesrpm -e package-full-version
总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,如果有疑问大家可以留言交流,谢谢大家对的支持。
版本
查询
问题
信息
内容
命令
篇文章
过程
错误
升级
参考
学习
更新
重要
亚于
价值
前言
功能
只有
就是
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
咖啡豆
科技企业和互联网企业
礼当家互联网科技
智慧科技互联网
互联网科技logo设计
互联网科技公司有哪些
互联网金融和金融科技
互联网公司会议桌创意科技软装饰
中国科技互联网公司收入
贵州叶脉互联网科技有限公司所属行业
互联网校园科技培训
互联网科技与管理
黑科技闪耀互联网之光
中国互联网十大科技股排名
华夏恒生科技与互联网科技
用友工业互联网科技发展
重庆科技产业互联网有哪些
恒生科技互联网指数十大成分股
高科技和互联网的现代国家
武汉亿视互联网科技有限公司
互联网科技大会
互联网科技汛
华中科技有哪些互联网大佬
北京三清互联网科技
以后互联网后是啥科技
港股科技和互联网
宝灵互联网科技有限公司
滨湖区互联网智能科技产品有哪些
广州互联网高科技取餐柜
北京天晋互联网科技有限公司