The Percona Toolkit for MySQL (and derivatives) can be retrieved as an RPM. If during installation (rpm -Uvh) you may receive:
The RPM system is looking for an RPM for the IO::Socket::SSL module. This error can appear if your system is using CPAN as the source for Perl packages and not the CentOS/Redhat repositories. There are many reasons a systems administrator may be using CPAN, often it is to get the latest versions of needed packages.
Possible solutions
The last option is what I had to use but be very cautious as this will install the package even if other dependencies are missing. Normally RPM will warn you of all missing dependencies but not always. Test things to be sure they all work.
- error: Failed dependencies:
perl(IO::Socket::SSL) is needed by percona-toolkit-2.2.7-1.noarch
The RPM system is looking for an RPM for the IO::Socket::SSL module. This error can appear if your system is using CPAN as the source for Perl packages and not the CentOS/Redhat repositories. There are many reasons a systems administrator may be using CPAN, often it is to get the latest versions of needed packages.
Possible solutions
- Using repository: yum install perl-IO-Socket-SSL
- Build a new updated RPM (which can be tedious painful)
- Installed IO::Socket::SSL from CPAN, override the RPM error:
rpm -Uvh --nodeps percona-toolkit-2.2.7-1.noarch
The last option is what I had to use but be very cautious as this will install the package even if other dependencies are missing. Normally RPM will warn you of all missing dependencies but not always. Test things to be sure they all work.