Search Engine: Elastic

Article ID: 118156, created on Oct 23, 2013, last review on Dec 21, 2017

  • Applies to:
  • Operations Automation

Symptoms

A task fails with:

Transaction Check Error:
file <FILE> from install of <RPM1> conflicts with file from package <RPM2>

For example, a task to install packages on the Linux Shared Hosting NG cluster created during OA update installation fails due to MySQL RPM packages conflict like this:

Transaction Check Error:
file /etc/my.cnf from install of mysql-libs-5.1.70-1.el5.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
> file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.70-1.el5.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-libs-5.1.70-1.el5.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
...

Cause

Some files from to be installed The RPM packages conflict with ones from already installed package. If intention is to install same version of the package but for another architecture (multilib system) that usually means that files in already installed package have mismatched attributes or size.

Resolution

At first - reinstall existing package via yum - that will eliminate any possible issues with inconsistencies in already installed files:

# yum reinstall <RPM2>

Update conflicting packages manually on the hosts:

In this example:

  1. Download the needed RPM packages listed in the failed task e.g. using the 'yumdownloader' utility:

    ~# yumdownloader mysql mysql-libs
    
  2. Install the conflicting packages:

    ~# rpm -Uvh mysql-5.1.70-1.el5.x86_64.rpm mysql-libs-5.1.70-1.el5.x86_64.rpm --force
    Preparing...                ########################################### [100%]
        1:mysql-libs             ########################################### [ 50%]
        2:mysql                  ########################################### [100%]
    
  3. Restart the failed task in OA Task Manager.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF