CentOS 7更新时出现Multilib version problems
来源:互联网 发布:ubuntu 双系统 主分区 编辑:程序博客网 时间:2024/05/18 00:01
这两天在更新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
阅读全文
0 0
- CentOS 7更新时出现Multilib version problems
- CentOS - yum Multilib Version Problems Found
- Multilib version problems found. This often means that the root...
- Centos 5.5 更新网卡驱动 bnx2 version: 2.0.2
- android studio新建hello world时出现Rendering Problems
- android studio新建hello world时出现Rendering Problems
- 【Problems】 当eclipse出现乱码
- yum安装时,centos_Error Protected multilib versions_解决方法
- Centos 7 更新yum源
- centos出现/lib/libz.so.1: no version information available解决方案
- centos下出现/lib64/libc.so.6: version `GLIBC_2.17' not found问题解决方案
- App Version更新提醒
- 使用MyEclipse2014从项目中删除东西时出现“Problems encountered while deleting resources”的解决办法。
- weblogic10.3.6部署war包时出现weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
- weblogic10.3.6部署war包时出现weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
- win10更新时出现问题
- Problems
- Problems
- 谷歌硬件战略缺陷:无法围绕谷歌助手打造硬件体系
- 2016全球教育机器人发展白皮书
- 谷歌花4亿英镑下注AI开始有回报 DeepMind创收了
- 路由器、交换机、集线器
- 拓扑排序模板
- CentOS 7更新时出现Multilib version problems
- 百度和高德地图接口取经纬度都有失效的时候,把两者结合起来用,才是解决之道。
- ASP.NET通过ajax调用后台方法
- gnuplot : 读取csv 文件, 画基金净值线
- Ping命令检测网站运行状态
- 认识java
- php常用算法
- 45.笔记go语言圣经——go语言变量
- 46.笔记go语言圣经——go运行时