Problem installing percona-toolkit on CentOS7 after already having Percona 8.0

Hello. I have a CentOS 7 machine running Percona 8.0 (MySQL). I’m trying to install the Percona Toolkit, but I encounter the following dependency mismatch when running sudo yum install percona-toolkit:

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.sfo12.us.leaseweb.net
 * centos-sclo-rh: la.mirrors.clouvider.net
 * centos-sclo-sclo: mirrors.xtom.com
 * epel: mirror.lshiy.com
 * extras: mirror.web-ster.com
 * remi-php81: mirror.bebout.net
 * rpmforge: mirror.chpc.utah.edu
 * updates: la.mirrors.clouvider.net
 * webtatic: us-east.repo.webtatic.com
prel-release-noarch                                                                                                                                                                      | 1.5 kB  00:00:00
ps-80-release-x86_64                                                                                                                                                                     | 2.9 kB  00:00:00
tools-release-x86_64                                                                                                                                                                     | 2.9 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package percona-toolkit.x86_64 0:3.3.1-1.el7 will be installed
--> Processing Dependency: perl(DBD::mysql) >= 1.0 for package: percona-toolkit-3.3.1-1.el7.x86_64
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:4.033-1.of.el7 will be installed
--> Processing Dependency: mariadb-libs for package: perl-DBD-MySQL-4.033-1.of.el7.x86_64
Package 1:mariadb-libs-5.5.68-1.el7.x86_64 is obsoleted by percona-server-shared-compat-8.0.26-16.1.el7.x86_64 which is already installed
--> Finished Dependency Resolution
Error: Package: perl-DBD-MySQL-4.033-1.of.el7.x86_64 (of)
           Requires: mariadb-libs
           Available: 1:mariadb-libs-5.5.68-1.el7.i686 (base)
               mariadb-libs = 1:5.5.68-1.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I would appreciate if you could help me with this. Thank you!

1 Like

Hi @Andrei2345
Thanks for your report.
Please try to use yum clean all and install percona-toolkit.
The issue should be fixed now

2 Likes

Thank you, now it works!