Intsalling Cluster 5.7 on Ubutnu 18.04

I cannot get this to install on a clean Ubuntu 18.04 installation to save my life. I keep getting unmet dependency warnings…

percona-xtradb-cluster-57 : Depends: percona-xtradb-cluster-server-5.7 (>= 5.7.22-29.26-1.bionic) but it is not going to be installed
Depends: percona-xtradb-cluster-client-5.7 (>= 5.7.22-29.26-1.bionic) but it is not going to be installed

Trying to install the dependencies manually just leads to more unmet dependency warnings.

What’s the secret to getting this to install on 18.04? Seems weird it doesn’t work right out of the box.

Would really appreciate some help here.

Thanks.

Hello there, it seems like you might not be using the Percona repo? Here are a few links for you to check.

https://www.percona.com/doc/percona-xtradb-cluster/5.7/install/apt.html#apt

https://www.percona.com/doc/percona-repo-config/index.html

And the Percona XtraDB Cluster home page: https://www.percona.com/downloads/Percona-XtraDB-Cluster-LATEST/

See how you get on?

I had similar issues with Ubuntu bionic 18.04.1 LTS and I needed to add the universe repository before it would install. I think the default repositories have changed between 18.04 and 18.04.1 which is why it works fine on the initial release of bionic.

sudo add-apt-repository universe

Thanks for this… I checked in with the team

universe repo is needed as on minimal setup libdbd-mysql-perl is not installed, since it comes from universe repo

Without that, then you’ll error on install due to the missing dependency.

Just wanted to update to say this issue is now fixed, here is the link to our JIRA system. Thanks again for reporting it! https://jira.percona.com/browse/PXC-2310