perl dependency issue in WHM 62

Miguel G

Well-Known Member
Jun 4, 2015
86
0
6
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:
[email protected] [/root]# rpm -qa |grep TermReadKey
cpanel-perl-524-TermReadKey-2.33-1.cp1162.x86_64
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463

Miguel G

Well-Known Member
Jun 4, 2015
86
0
6
Spain
cPanel Access Level
Root Administrator
Twitter
Code:
[email protected] [~]# 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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
Hello,

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

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
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.
 
  • Like
Reactions: Bobby_I

megsjc

Registered
Mar 16, 2018
3
0
1
Spain
cPanel Access Level
Root Administrator
I want to install perconna-toolkit but it is failing:

Code:
[email protected] [~]# 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
[email protected] [~]#
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
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:

Code:
yum install percona-toolkit
Thank you.