Translated message

A translation of this page exists in English.

yum 出力を使用して yum の依存関係エラーを解決するにはどうすればよいですか?

Solution In Progress - Updated -

Issue

  • カスタムリポジトリーを使用していると yum エラーが発生します。yum 出力を使用して問題を解決するにはどうすればよいですか?
  • Yum はパッケージの更新を拒否し、依存関係が必要であると報告しますが、依存関係はすでにインストールされています。
  • Yum の更新が、次のような "missing dependency" エラーで失敗します。
Missing Dependency: package1 = 2:4.11 is needed by package 2:package2.i386 (rhel-i386-server-5)

または、以下のようなエラーで失敗します。

Missing Dependency: /lib64/security/pam_loginuid.so is needed by package openssh-server-4.3p2-82.el5.x86_64 (installed)
Error: Missing Dependency: /lib64/security/pam_loginuid.so is needed by package openssh-server-4.3p2-82.el5.x86_64 (installed)
  • Yum は、インストール済みのパッケージの依存関係が更新によって破損する可能性があるという理由で、更新のインストールを拒否します。
Error: Package: libreport-2.0.9-19.el6.i686 (rhel-6-server-rpms)
Requires: libreport-python = 2.0.9-19.el6
Removing: libreport-python-2.0.9-19.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5)
libreport-python = 2.0.9-19.el6
Updated By: libreport-python-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-19.0.1.el6
Available: libreport-python-2.0.5-20.el6.x86_64 (rhel-6-server-rpms)
libreport-python = 2.0.5-20.el6
Available: libreport-python-2.0.5-20.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.5-20.0.1.el6
Available: libreport-python-2.0.9-5.el6.x86_64 (rhel-6-server-rpms)
libreport-python = 2.0.9-5.el6
Available: libreport-python-2.0.9-5.el6_3.2.x86_64 (rhel-6-server-rpms)
libreport-python = 2.0.9-5.el6_3.2
Available: libreport-python-2.0.9-5.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-5.0.1.el6
Available: libreport-python-2.0.9-5.0.1.el6_3.2.x86_64 (ol6_latest)
libreport-python = 2.0.9-5.0.1.el6_3.2
Available: libreport-python-2.0.9-15.el6.x86_64 (rhel-6-server-rpms)
libreport-python = 2.0.9-15.el6
Available: libreport-python-2.0.9-15.el6_4.1.x86_64 (rhel-6-server-rpms)
libreport-python = 2.0.9-15.el6_4.1
Available: libreport-python-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-15.0.1.el6
Available: libreport-python-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
libreport-python = 2.0.9-15.0.1.el6_4.1
  • Yum は、以前にインストールされたファイルが新しいファイルと互換性がないことを示すチェックエラーで、トランザクションを拒否します。

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Satellite 5.x
  • Red Hat Satellite 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content