所有地に 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 で、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