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.

Failing to update to MariaDB (perl(DBI))

Discussion in 'Database Discussions' started by yoloswag, May 20, 2016.

Tags:
  1. yoloswag

    yoloswag Registered

    Joined:
    May 20, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Website Owner
    Hi

    I tried upgrading to MariaDB 10.1 but got an error about perl(DBI) not being installed

    Code:
    (XID vdj9ms) The system failed to execute yum with the arguments “-y -c /var/tmp/5281.WHOSTMGR_BIN_WHOSTMGR_PL__.atlq4qsUYRwuwewQ.tmp -x MariaDB-compat install MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared MariaDB-common” because of an error: The “/usr/bin/yum” command (process 5339) reported error number 1 when it ended. : Error: Missing Dependency: perl(DBI) is needed by package MariaDB-server-10.0.25-1.i386 (MariaDB100)
    Full log:
    paste2.org/05gKgFIO

    perl(DBI) however is installed and I also updated it, but still got the error

    should I change Install.pm and try with "--skip-broken" as suggested? I tried other suggestions and none worked. Running centos-release-5-11.el5.centos
     
    #1 yoloswag, May 20, 2016
    Last edited by a moderator: May 20, 2016
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    Have you added perl* in exclude line of /etc/yum.conf file ? Please check it and removed that to install this perl package on your server
     
  3. yoloswag

    yoloswag Registered

    Joined:
    May 20, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Website Owner
    yeah it's right there

    It was there before perl(dbi) update - mariadb install didnt work
    Tried removing it ("perl*") from yum.conf - didnt work
    Updated perl(dbi), update added it back to yum.conf - didnt work

    various commands I tried to check if perl(dbi) is indeed installed

     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please use the following command to remove the "perl*" entry from /etc/yum.conf before attempting to upgrade to MariaDB:

    Code:
    /scripts/checkyum --no-perl
    Please also see the following blog post regarding CentOS 5:

    March 31st, 2017: The Day the Sun Sets on CentOS 5 | cPanel Blog

    Thank you.
     
Loading...

Share This Page