Hi folks,
I’m having some considerable difficulty installing xtrabackup on Ubuntu.
The output of the installation command is :
apt-get install percona-xtrabackup-24
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
percona-xtrabackup-24 : Depends: libdbd-mysql-perl but it is not installable
Depends: libev4 (>= 1:4.04) but it is not installable
E: Unable to correct problems, you have held broken packages.
My system is pretty much “bog standard”:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
mysql --version
mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper
(This is hopefully obviously Oracle’s version rather than Percona’s and was installed with apt install mysql-server
)
I’ve tried a number of ways of installing both libdbd-mysql-perl and.or libev4 however both have failed and I’m now struggling to comprehend what I may have done wrong.
For reference, I followed the instructions provided at [url]https://www.percona.com/doc/percona-xtrabackup/2.4/installation/apt_repo.html[/url] and:
wget https://repo.percona.com/apt/percona-release_0.1-6.$(lsb_release -sc)_all.deb
— snip for brevity —
[root@somewhere.fun] dpkg -i percona-release_0.1-6.$(lsb_release -sc)_all.deb
— snip for brevity —
[root@somewhere.fun] apt-get update
— snip for brevity —
[root@somewhere.fun] apt-get install percona-xtrabackup-24
— output as above —
I’ve tried a number of ways of installing both libdbd-mysql-perl and.or libev4 however both have failed and I’m now struggling to comprehend what I may have done wrong. Clearly my “Google-fu” has departed me.
Can anybody assist ?
Please note that this is a production server - actually a replication slave, however I’d rather not be forced into a reinstall of mysql etc as our database is several terra-bytes in size!
Many thanks