Ubuntu Lucid 10.04 LTS percona-toolkit depends on…
So I was trying to install Percona Toolkit on a fresh Ubuntu 10.04 LTS install that I’d just installed Percona Server 5.5 onto.
wget percona.com/get/percona-toolkit.deb
sudo dpkg -i percona-toolkit.deb
Selecting previously deselected package percona-toolkit.
(Reading database … 107302 files and directories currently installed.)
Unpacking percona-toolkit (from percona-toolkit.deb) …
dpkg: dependency problems prevent configuration of percona-toolkit:
percona-toolkit depends on libdbd-mysql-perl | libdbd-mysql-5.1-perl; however:
Package libdbd-mysql-perl is not installed.
Package libdbd-mysql-5.1-perl is not installed.
dpkg: error processing percona-toolkit (–install):
dependency problems – leaving unconfigured
Processing triggers for man-db …
Errors were encountered while processing:
percona-toolkit
A quick Google revealed numerous dependency related bug entries on Percona’s Launcpad site. Apparently I shouldn’t be running into these problems.. no surprise there then!
I tried to get the following to work, to no avail:
sudo apt-get install libdbd-mysql-perl
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies.
libdbd-mysql-perl: Depends: libmysqlclient16 (>= 5.1.21-1) but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
Apparently repo.percona.com/apt has a libmysqlclient16 but it’s not being installed for some reason 🙁
I confirm I’ve still got the following in my /etc/apt/sources.list:
## Percona Repository
deb http://repo.percona.com/apt lucid main
deb-src http://repo.percona.com/apt lucid main
I ended up having to apt-get remove percona-toolkit I’d downloaded and then apt-get install libmysqlclient16, and subsequently apt-get install percona-toolkit this time from the Percona repo.
It’s all working great now!
Steve Daniels
Works like a charm.!
Thanks!!