Why package installation fails as file from the package being install conflict's with files from pacakge which was already installed?
Issue
- Package installation fails with Transaction Check Error mentioning that files of the these package conflicts with package already installed on the system.
For Eg 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
For Eg 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
- Packages from unsupported Repositories.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
