• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 118156, created on Oct 23, 2013, last review on May 11, 2014

  • 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 dring POA 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
file /usr/share/mysql/charsets/ascii.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/cp1250.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/cp1251.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

The RPM packages to be installed conflict with already installed packages.

Resolution

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 POA Task Manager.

Search Words

Install package on Web Cluster

Deploy WSNG on cloudlinux 6

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF