百胜更新 - 安全颠覆问题

时间:2014-05-12 03:32:21

标签: yum rhel6

我的遗产中有一台继承的服务器运行git,我只是尝试使用# yum update --security在其上执行安全更新而我遇到的问题我不是当然,下面是输出的尾部:

--> Finished Dependency Resolution
Error: Package: subversion-perl-1.6.11-9.el6_4.x86_64 (@rhel-x86_64-server-optional-6)
           Requires: subversion = 1.6.11-9.el6_4
           Removing: subversion-1.6.11-9.el6_4.i686 (@rhel-x86_64-server-6)
               subversion = 1.6.11-9.el6_4
           Updated By: subversion-1.6.11-10.el6_5.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-10.el6_5
           Available: subversion-1.6.11-2.el6.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6
           Available: subversion-1.6.11-2.el6_0.2.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6_0.2
           Available: subversion-1.6.11-2.el6_0.3.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6_0.3
           Available: subversion-1.6.11-2.el6_1.4.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6_1.4
           Available: subversion-1.6.11-7.el6.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-7.el6
Error: Package: subversion-ruby-1.6.11-9.el6_4.x86_64 (@rhel-x86_64-server-optional-6)
           Requires: subversion = 1.6.11-9.el6_4
           Removing: subversion-1.6.11-9.el6_4.i686 (@rhel-x86_64-server-6)
               subversion = 1.6.11-9.el6_4
           Updated By: subversion-1.6.11-10.el6_5.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-10.el6_5
           Available: subversion-1.6.11-2.el6.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6
           Available: subversion-1.6.11-2.el6_0.2.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6_0.2
           Available: subversion-1.6.11-2.el6_0.3.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6_0.3
           Available: subversion-1.6.11-2.el6_1.4.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-2.el6_1.4
           Available: subversion-1.6.11-7.el6.i686 (rhel-x86_64-server-6)
               subversion = 1.6.11-7.el6
Error: Package: ruby-ri-1.8.7.352-12.el6_4.x86_64 (@rhel-x86_64-server-optional-6)
           Requires: ruby-rdoc = 1.8.7.352-12.el6_4
           Removing: ruby-rdoc-1.8.7.352-12.el6_4.x86_64 (@rhel-x86_64-server-6)
               ruby-rdoc = 1.8.7.352-12.el6_4
           Updated By: ruby-rdoc-1.8.7.352-13.el6.x86_64 (rhel-x86_64-server-6)
               ruby-rdoc = 1.8.7.352-13.el6
           Available: ruby-rdoc-1.8.7.352-7.el6_2.x86_64 (rhel-x86_64-server-6)
               ruby-rdoc = 1.8.7.352-7.el6_2
           Available: ruby-rdoc-1.8.7.352-10.el6_4.x86_64 (rhel-x86_64-server-6)
               ruby-rdoc = 1.8.7.352-10.el6_4
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

服务器是RHEL 6.4,专用于runnig Git(版本1.7.1)。

这是由于同一个软件包的多个副本,但是针对不同的架构?有什么方法吗?

如果您需要我提供更多信息,请与我们联系。

干杯


我应该补充说,如果我使用--skip-broken运行它,我会得到以下内容:

--> Finished Dependency Resolution

Packages skipped because of dependency problems:
    ruby-irb-1.8.7.352-13.el6.x86_64 from rhel-x86_64-server-6
    ruby-rdoc-1.8.7.352-13.el6.x86_64 from rhel-x86_64-server-6
    subversion-1.6.11-10.el6_5.i686 from rhel-x86_64-server-6
    subversion-1.6.11-10.el6_5.x86_64 from rhel-x86_64-server-6
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 ruby-libs which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of ruby-libs 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 ruby-libs.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of ruby-libs installed, but
            yum can only see an upgrade for one of those arcitectures.
            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 ruby-libs 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: ruby-libs-1.8.7.352-12.el6_4.i686 != ruby-libs-1.8.7.352-13.el6.x86_64
 You could try running: rpm -Va --nofiles --nodigest

1 个答案:

答案 0 :(得分:0)

事实证明这是一个n00b问题,虽然我有@ rhel-x86_64-server-optional-6频道,但我还没有清除yum缓存!

# yum clean all
# yum repolist

对它进行排序。