Installation issue on Ubuntu 12.04 LTS

Hi all,

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.

Any help will be appreciated.

Thanks,

Serge

Hi, Serge;

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?

root@localhost:~# history
1 apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
2 vim /etc/apt/sources.list
*Here I added:
#percona
deb [URL]http://repo.percona.com/apt[/URL] precise main
deb-src [URL]http://repo.percona.com/apt[/URL] precise main

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:

dpkg --remove percona-server-client-5.5
dpkg --remove libdbi-perl libdbd-mysql-perl
dpkg --remove percona-server-common-5.5 libperconaserverclient18
dpkg --remove percona-server-server-5.5
dpkg --purge percona-server-server-5.5
apt-get install percona-server-server-5.5 percona-server-client-5.5