Installing Percona Xtrabackup with WHM/cPanel

63bus

Active Member
Mar 31, 2007
35
0
156
Has anyone used Percona's Xtrabackup on a CPanel server?

I am trying to install it via
yum install xtrabackup

I get the following output:
Missing Dependency: perl(DBD::mysql) is needed by package percona-xtrabackup-21-2.1.9-746.rhel5.x86_64 (percona-release-x86_64)
Error: Missing Dependency: perl(DBD::mysql) is needed by package percona-xtrabackup-21-2.1.9-746.rhel5.x86_64 (percona-release-x86_64)
If I run
perl -MCPAN -e shell
and then
upgrade DBD::mysql

It states:
All modules are up to date for DBD::mysql
So I'm confused - what is missing?
 

63bus

Active Member
Mar 31, 2007
35
0
156
Thank you, I did not realize this should be done through WHM.

Unfortunately when checking DBD::mysql through Module Installers and trying to install the RPM through Install an RPM I get the same messages. Here is the Install the RPM output:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www6.atomicorp.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package percona-xtrabackup.x86_64 0:2.2.5-5027.el5 set to be updated
--> Processing Dependency: perl(DBD::mysql) for package: percona-xtrabackup
--> Finished Dependency Resolution
percona-xtrabackup-2.2.5-5027.el5.x86_64 from percona-release-x86_64 has depsolving problems
--> Missing Dependency: perl(DBD::mysql) is needed by package percona-xtrabackup-2.2.5-5027.el5.x86_64 (percona-release-x86_64)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Install complete.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
This is a third-party application, so it might be a good idea to report this issue to their support team. You could try temporarily removing the "perl*" exclusion in /etc/yum.conf and then adding it back after completing the installation steps.

Thank you.