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.

[url]Installing Percona XtraDB Cluster on Debian or Ubuntu - Percona XtraDB Cluster

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

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

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! [url][PXC-2310] Install PXC 5.7 on Ubuntu 18.04 requires universe repo due to package dependency - Percona JIRA