Skip to main content

perl dependency issue in WHM 62

Comments

8 comments

  • cPanelMichael
    Hello @Miguel G, The following document explains how the Perl environment works in cPanel: Guide to Perl in cPanel - Perl Environments - Software Development Kit - cPanel Documentation Could you let us know the full output from the update attempt, including the failure message? Thank you.
    0
  • Miguel G

    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
    0
  • cPanelMichael
    Hello, Do you have an entry for "perl*" on the exclude= line in your /etc/yum.conf file? Thank you.
    0
  • Miguel G
    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?
    0
  • cPanelMichael
    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.
    0
  • Bobby_I
    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.

    That's great! Worked for me, thank you.
    0
  • megsjc
    I want to install perconna-toolkit but it is failing:
    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
    0
  • cPanelMichael
    I have seen that my /etc/yum.conf have "exclude=.... perl* ....." Whoud I remove the "perl*" part? I amb using v68.0.36

    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:
    yum install percona-toolkit
    Thank you.
    0

Please sign in to leave a comment.