I’m trying to install Percona 5.5 on an Ubuntu 12.04 LTS and I get this error:
root@test:/etc/apt# apt-get install percona-server-server-5.5 percona-server-client-5.5
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
percona-server-client-5.5 : Depends: libdbi-perl but it is not installable
percona-server-server-5.5 : Depends: libdbi-perl but it is not installable
Depends: libdbd-mysql-perl but it is not installable
Depends: libaio1 (>= 0.3.93) but it is not installable
E: Unable to correct problems, you have held broken packages.
I googled this and found a bug issue dating 2013 that supposed to be fixed but nothing recent.
I just tried this on a clean 12.04LTS install and it went off without a hitch. Here’s the sum total of what I did - maybe you missed a step, possibly the apt-get update?
3 time apt-get update
4 time apt-get install percona-server-server-5.5 percona-server-client-5.5
5 mysql
6 mysql -e “CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME ‘libfnv1a_udf.so’”
7 mysql -e “CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME ‘libfnv_udf.so’”
8 mysql -e “CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME ‘libmurmur_udf.so’”
9 mysql
10 history
root@localhost:~#
To double-check, I went ahead & removed the relevant packages & then reinstalled, and it worked fine. I suspect if you try the following sequence, you’ll get the same result: