インストールしようとしているパッケージのファイルが、インストールされているパッケージのファイルと競合するため、パッケージをインストールできない

Solution Verified - Updated -

Issue

  • パッケージのインストールに失敗し、Transaction Check Error が、システムにインストールされているパッケージのファイルと競合していると示します。
例 1:
[root@test abc]# yum update httpd
Skipping security plugin, no data
Setting up Update Process
[...]
Total size:2.4 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
  file /etc/httpd/conf/httpd.conf from install of httpd-2.2.3-65.el5_8.x86_64 conflicts with file from package php-common-5.3.3-27.x86_64

例 2:
# yum groupinstall "Desktop Platform"
[...]
Transaction Check Error:
  file /usr/sbin/redhat_lsb_trigger.x86_64 from install of redhat-lsb-core-4.0-7.el6.x86_64 conflicts with file from package redhat-lsb-4.0-3.el6.x86_64
  file /usr/share/man/man1/lsb_release.1.gz from install of redhat-lsb-core-4.0-7.el6.x86_64 conflicts with file from package redhat-lsb-4.0-3.el6.x86_64

Environment

  • Red Hat Enterprise Linux
  • サポート対象外のリポジトリーのパッケージ

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.