码迷,mamicode.com
首页 > 其他好文 > 详细

yum常见问题

时间:2018-01-08 12:17:31      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:2.x   3.1   col   workman   however   bit   win   pack   different   

--> 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 libgcc which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of libgcc 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 libgcc.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of libgcc installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you dont 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 libgcc 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: libgcc-4.4.7-3.el6.i686 != libgcc-4.4.6-3.el6.x86_64
Error: Protected multilib versions: glibc-2.12-1.107.el6.i686 != glibc-2.12-1.47.el6.x86_64
 You could try using --skip-broken to work around the problem
** Found 878 pre-existing rpmdb problem(s), yum check output follows:
ImageMagick-6.5.4.7-6.el6_2.x86_64 is a duplicate with ImageMagick-6.5.4.7-5.el6.x86_64
1:NetworkManager-0.8.1-43.el6.x86_64 is a duplicate with 1:NetworkManager-0.8.1-15.el6.x86_64
1:NetworkManager-glib-0.8.1-43.el6.x86_64 is a duplicate with 1:NetworkManager-glib-0.8.1-15.el6.x86_64
1:NetworkManager-gnome-0.8.1-43.el6.x86_64 is a duplicate with 1:NetworkManager-gnome-0.8.1-15.el6.x86_64
NetworkManager-openswan-0.8.0-8.el6.x86_64 is a duplicate with NetworkManager-openswan-0.8.0-7.el6.x86_64
ORBit2-2.14.17-3.2.el6_3.x86_64 is a duplicate with ORBit2-2.14.17-3.1.el6.x86_64

刚开使用rpm -qa | grep xxxx 查出新旧版本共存的rpm包,然后rpm -e xxx 卸载,但是发现以来关系太多,依赖包太多了。
后来用以下命令,解决以上问题:
#  package-cleanup --cleandupes

 查出rpmbd中重复的包,并把旧的版本rpm包删除。

yum常见问题

标签:2.x   3.1   col   workman   however   bit   win   pack   different   

原文地址:https://www.cnblogs.com/so-cool/p/8241801.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!