Can't install percona-xtradb-cluster

Trying to install percona xtradb cluster 8 on my Oracle Linux 8.4 server.
When trying to run yum install percona-xtradb-cluster I receive.

Last metadata expiration check: 0:54:01 ago on Wed 13 Oct 2021 02:45:31 PM CDT.
All matches were filtered out by modular filtering for argument: percona-xtradb-cluster
Error: Unable to find a match: percona-xtradb-cluster

Repositories look good and ran
sudo dnf install

which worked fine
then ran

sudo percona-release enable pxc-80

but now I am not able to install the cluster piece. When searching percona it does not show any 8.x versions available for install.

percona-xtradb-cluster-client-debuginfo.x86_64 : Debug information for package percona-xtradb-cluster-client
percona-xtradb-cluster-debuginfo.x86_64 : Debug information for package percona-xtradb-cluster
percona-xtradb-cluster-debugsource.x86_64 : Debug sources for package percona-xtradb-cluster
percona-xtradb-cluster-full.x86_64 : Percona XtraDB Cluster - full package
percona-xtradb-cluster-garbd.x86_64 : Garbd component of Percona XtraDB Cluster
percona-xtradb-cluster-garbd-debuginfo.x86_64 : Debug information for package percona-xtradb-cluster-garbd
percona-xtradb-cluster-mysql-router.x86_64 : Percona MySQL Router
percona-xtradb-cluster-mysql-router-debuginfo.x86_64 : Debug information for package percona-xtradb-cluster-mysql-router
percona-xtradb-cluster-server-debuginfo.x86_64 : Debug information for package percona-xtradb-cluster-server
percona-xtradb-cluster-shared-compat.x86_64 : Shared compat libraries for Percona Server 5.6.28–25.14 database client applications
percona-xtradb-cluster-shared-debuginfo.x86_64 : Debug information for package percona-xtradb-cluster-shared
percona-xtradb-cluster-test-debuginfo.x86_64 : Debug information for package percona-xtradb-cluster-test

What am I doing wrong? or what needs to be adjusted for this to work?

1 Like

Hello @jasonfe33,

When you are “enabling” the repo the percona-release script just enables the pxc-80 repo, but doesn’t disables MySQL dnf module, which prevents pxc-80 packages of being searched/installed.
In this case you just need to run the following command before installing percona-xtradb-cluster of 8.0 version:

dnf module disable mysql -y

Also, this is done by the script automatically if you use the setup command:

percona-release setup pxc-80

Along with enabling pxc-80 repo and disabling MySQL dnf module, the setup command also enables supplementary repo which is called tools.

1 Like

Thank you so much for this. I was trying to install version 5.7 and running

percona-release enable ps-57 release

did not automatically run

dnf module disable mysql -y

I had also run

percona-release setup ps-57