The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem in installing package - mysql-libs

Discussion in 'General Discussion' started by dzamanakos, Feb 28, 2014.

  1. dzamanakos

    dzamanakos Active Member

    Joined:
    Feb 15, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,
    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 :

    Installing:
    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
    MySQL55-server-5.5.35-1.cp1136.x86_64
    cpanel-mysql-5.0.96-1.cp1136.x86_64
    cpanel-perl-514-MySQL-Diff-0.43-1.cp1136.x86_64
    MySQL55-devel-5.5.35-1.cp1136.x86_64
    cpanel-mysql-libs-5.0.96-1.cp1136.x86_64
    cpanel-perl-514-DBD-mysql-4.021-1.cp1136.x86_64
    MySQL55-shared-5.5.35-1.cp1136.x86_64
    MySQL55-client-5.5.35-1.cp1136.x86_64
    MySQL55-test-5.5.35-1.cp1136.x86_64

    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,
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page