巅云智能建站平台搭建版(创业流派版)火爆上线,毕生受权!新增:文章智能收罗+全站真静态打包+都会分站+智能小法式+不法词过滤+H5自顺应+智能链词等功效功效概况
赞助文档Help

CentOS 7更新时呈现:Multilib version problems题目的处理体例

一佰互联网站建造(www.taishanly.com) 颁布发表日期 2020-04-23 09:20:57 阅读数: 545

媒介

对于CentOS的身世就未几多说了,具备RHEL一切功效和机能,乃至加倍友爱,最首要一点是收费,深受大师的爱好,CentOS的受接待水平并不亚于Ubuntu,之前装置了CentOS7,对于装置的教程,有须要的伴侣们能够参考这篇文章://www.taishanly.com/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 Resolution
Error: 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_64
Error: Protected multilib versions: pcre-8.32-17.el7.i686 != pcre-8.32-15.el7_2.1.x86_64
Error: Protected multilib versions: elfutils-libs-0.168-8.el7.i686 != elfutils-libs-0.166-2.el7.x86_64
......

处理进程以下:

//查问反复的软件包
# rpm -q systemd-libs
systemd-libs-219-30.el7.x86_64
systemd-libs-219-42.el7_4.1.x86_64

//删除旧版
# rpm -e systemd-libs-219-30.el7.x86_64
error: Failed dependencies:
 systemd-libs = 219-30.el7 is needed by (installed) libgudev1-219-30.el7.x86_64

//依然呈现依靠题目,持续查问libgudev1的版本信息
# rpm -q libgudev1
libgudev1-219-30.el7.x86_64

//发明只要一个版本,进级试一下
# yum update libgudev1
......
Updated:
 libgudev1.x86_64 0:219-42.el7_4.1                              

Complete!
# rpm -q libgudev1
libgudev1-219-42.el7_4.1.x86_64

//进级完成后,删除旧版本的systemd-libs
# rpm -e systemd-libs-219-30.el7.x86_64
# rpm -q systemd-libs
systemd-libs-219-42.el7_4.1.x86_64

最初查问发明只剩下最新版本的systemd-libs,其余反复版本包的处理,也是一样的进程。

焦点的号令首要是:

rpm -q package-names
rpm -e package-full-version

总结

以上便是这篇文章的全数内容了,但愿本文的内容对大师的进修或任务具备必然的参考进修代价,若是有疑难大师能够留言交换,感谢大师对网页设想的撑持。

一佰互联是天下着名建站品牌办事商,咱们有九年、网站建造、网页设想、php开辟和域名注册及假造主机办事经历,供给的办事更是天下着名。最近几年来还整合团队上风自立开辟了可视化多用户”“3.0平台版,拖拽排版网站建造设想,轻松完成pc站、手机微网站、小法式、APP一体化全网营销网站扶植 ,已胜利的为天下上百家收集公司供给自助建站平台搭建办事。

相干消息more

28
03月
抖音推出首款视频交际产物多闪 定位熟人交际

简介:1月15日,在北京751D艺术区,抖音正式颁布发表进级私信功效,推出本身的自力视频交际产物多闪,这象征着抖音正式进军交际范畴。 当天,25... >>概况

26
04月
PHP5.5装置PHPRedis扩大及毗连测

本文实例报告了PHP5.5装置PHPRedis扩大及毗连测试体例。分享给大师供大师参考,具体以下:phpredis是小我感觉最好的一个php... >>概况

26
04月
thinkPHP5.0框架开辟标准简介

本文实例报告了thinkPHP5.0框架开辟标准。分享给大师供大师参考,具体以下:定名标准ThinkPHP5遵守PSR-2定名标准和PSR-... >>概况

27
03月
手机毛病率排名出炉 三星排第一这家国产物牌第

简介:日前,有查询拜访公司发布了一份2017年第四时度的手机毛病率排名,据统计三星手机在环球的毛病率为34%,成为毛病率最高的品牌,而在2017... >>概况

高端网站扶植

美工统筹SEO,为企业电子商务营销助力!

德律风:

023-85725751
建站

产物

域名注册 假造主机 云办事器 企业邮局
智能建站 APP打包 微站/小法式 创业平台
网站推行 媒体营销 智能收罗 AI机械人
400德律风 短信营销 店销机械人
私家定制 流派网站