problem in installing package - mysql-libs


Well-Known Member
Feb 15, 2014
Larisa / Greece
cPanel Access Level
Root Administrator
i have a problem in installing gearmand package, needed by 1h software packages.
I see in the logs that gearmand has some dependencies, one of them is mysql-libs-5.1.73-3.el6_5

In the log of 1h installation i see that it is trying to install gearmand, it collect the dependencies packages and ends with a :

gearmand x86_64 1.1.8-2.el6 epel 156 k
Installing for dependencies:
boost-program-options x86_64 1.41.0-18.el6 base 106 k
boost-system x86_64 1.41.0-18.el6 base 24 k
libevent x86_64 1.4.13-4.el6 base 66 k
libgearman x86_64 1.1.8-2.el6 epel 70 k
mysql-libs x86_64 5.1.73-3.el6_5 updates 1.2 M
tokyocabinet x86_64 1.4.33-6.el6 base 428 k

Transaction Summary
Install 7 Package(s)
Total size: 2.1 M
Installed size: 6.7 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL55-server-5.5.35-1.cp1136.x86_64

Then i run a :
root@panel [/]# rpm -qa | grep -i mysql

and see that mysql-libs cpanel version is installed and /etc/yum.conf excludes mysql*

1h support told me that "This is caused by the fact that you have a conflicting yum repository added for your system that is trying to download another MySQL package conflicting with one you already have for your system. This should be fixed if you disable the updates repository and re-run the installation."

Truth is that at somepoint after some guides about spf i remember changing some repos.
The repos i have are :
root@panel [/]# yum repolist
repo id repo name
1h 1H CentOS-6 packages for x86_64
base CentOS-6 - Base
epel Extra Packages for Enterprise Linux 6 - x86_64
extras CentOS-6 - Extras
r1soft R1Soft Repository Server
updates CentOS-6 - Updates

and :
root@panel [/]# ls /etc/yum.repos.d/
./ 1h.repo CentOS-Debuginfo.repo CentOS-Vault.repo epel-testing.repo r1soft.repo
../ CentOS-Base.repo CentOS-Media.repo epel.repo

Did i messed up with the repositories? I'm afraid of the case that installing or updating package from a wrong repo may overwrite cpanel's files.
I'm new to cpanel and centos6, but familiar with the system in general as i administe a freebsd with directadmin panel.
I temporary moved just for testing epel.repo files to a temp dir but have the same error.

I've read about centos repos but i dont know what repo is conflicting, or how to "disable the updates repository and re-run the installation". I dont see a update.repo in /etc/yum.repos.d/ .

Any help would be appreciated,
thank you in advance,


Staff member
Apr 11, 2011
Hello :)

The issue I see is that you have installed MySQL 5.5 on your system and the software you are attempting to install requires MySQL 5.1. You can ignore the cpanel-mysql RPMs because those are separate from the system MySQL RPMs. Have you checked to verify if the package you are installing allows for the use of MySQL 5.5?

Thank you.