Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

perl dependency issue in WHM 62

Discussion in 'General Discussion' started by Miguel G, Feb 27, 2017.

Tags:
  1. Miguel G

    Miguel G Well-Known Member

    Joined:
    Jun 4, 2015
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    After upgrading to WHM 62 I can´t update percona-toolkit RPM:

    Code:
    Resolving Dependencies
    --> Running transaction check
    ---> Package percona-toolkit.x86_64 0:3.0.1-1.el6 will be installed
    --> Processing Dependency: perl(Term::ReadKey) for package: percona-toolkit-3.0.1-1.el6.x86_64
    percona/filelists_db                                     | 4.4 MB     00:01     
    
    
    The readkey RPM seems to be installed by cpanel:

    Code:
    root@myserver [/root]# rpm -qa |grep TermReadKey
    cpanel-perl-524-TermReadKey-2.33-1.cp1162.x86_64
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,667
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Miguel G

    Miguel G Well-Known Member

    Joined:
    Jun 4, 2015
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    Code:
    root@myserver [~]# yum install percona-toolkit
    Loaded plugins: fastestmirror, security, tsflags, universal-hooks, verify
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    epel/metalink                                            |  20 kB     00:00     
     * EA4: 185.69.232.245
     * EA4-experimental: 185.69.232.245
     * base: mirror.airenetworks.es
     * epel: fr.mirror.babylon.network
     * extras: mirror.airenetworks.es
     * updates: mirror.airenetworks.es
    EA4                                                      | 2.9 kB     00:00 ...
    EA4-experimental                                         | 2.9 kB     00:00 ...
    base                                                     | 3.7 kB     00:00     
    datadog                                                  | 2.5 kB     00:00     
    extras                                                   | 3.4 kB     00:00     
    percona                                                  | 2.5 kB     00:00     
    updates                                                  | 3.4 kB     00:00     
    varnish-4.1                                              |  951 B     00:00     
    Resolving Dependencies
    --> Running transaction check
    ---> Package percona-toolkit.x86_64 0:3.0.1-1.el6 will be installed
    --> Processing Dependency: perl(Term::ReadKey) for package: percona-toolkit-3.0.1-1.el6.x86_64
    --> Finished Dependency Resolution
    Error: Package: percona-toolkit-3.0.1-1.el6.x86_64 (percona)
               Requires: perl(Term::ReadKey)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,667
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you have an entry for "perl*" on the exclude= line in your /etc/yum.conf file?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Miguel G

    Miguel G Well-Known Member

    Joined:
    Jun 4, 2015
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    I do and I know that some people said in the past it was the only way to install perl dependencies in the past, but I was hoping that was changed in the last versions. Is not?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,667
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You should be able to remove the "perl*" entry from the exclude= line in the /etc/yum.conf file. It's no longer required on cPanel systems.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Bobby_I likes this.
  7. Bobby_I

    Bobby_I Registered

    Joined:
    Jun 1, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    BG
    cPanel Access Level:
    Root Administrator
    That's great! Worked for me, thank you.
     
    cPanelMichael likes this.
  8. megsjc

    megsjc Registered

    Joined:
    Mar 16, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I want to install perconna-toolkit but it is failing:

    Code:
    root@cpanel [~]# rpm -i percona-toolkit-3.0.8-1.el6.x86_64.rpm
    warning: percona-toolkit-3.0.8-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
    error: Failed dependencies:
        perl(DBD::mysql) >= 1.0 is needed by percona-toolkit-3.0.8-1.el6.x86_64
        perl(IO::Socket::SSL) is needed by percona-toolkit-3.0.8-1.el6.x86_64
        perl(Term::ReadKey) is needed by percona-toolkit-3.0.8-1.el6.x86_64
    root@cpanel [~]#
    
    I have installed through WHM (.../scripts2/module_installers_main?lang=perl) required perl modules but it continue failing. I have seen that my /etc/yum.conf have "exclude=.... perl* ....."

    Whoud I remove the "perl*" part? I amb using v68.0.36
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,667
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, please remove the "perl*" exclusion entry in your /etc/yum.conf file. Then, try installing the Perl module via YUM instead of through the "rpm -i" command. EX:

    Code:
    yum install percona-toolkit
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice