# server 5.5 install fail on Ubuntu 12.10 amd64

**URL:** <https://forums.percona.com/t/server-5-5-install-fail-on-ubuntu-12-10-amd64/1988>\
**Category:** Other MySQL® Questions\
**Created:** [February 11, 2013, 8:50am UTC](https://forums.percona.com/t/server-5-5-install-fail-on-ubuntu-12-10-amd64/1988 "2013-02-11T08:50:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoni](https://avatars.discourse-cdn.com/v4/letter/y/ee59a6/32.png) [@yoni](https://forums.percona.com/u/yoni)\
**Post date:** [February 11, 2013, 8:50am UTC](https://forums.percona.com/t/server-5-5-install-fail-on-ubuntu-12-10-amd64/1988/1 "2013-02-11T08:50:12Z")

</div>

Clean Ubuntu 12.10 installation.

added following to sources.list:  
deb [Percona Repo](http://repo.percona.com/apt) quantal main  
deb-src [Percona Repo](http://repo.percona.com/apt) quantal main

Installed percona server:

root@ubuntu:~/# apt-get install percona-server-server-5.5  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
The following extra packages will be installed:  
libmysqlclient-dev libmysqlclient18 percona-server-client-5.5 percona-server-common-5.5  
Suggested packages:  
tinyca  
The following packages will be REMOVED:  
libmysqlclient18:i386 libqt4-sql-mysql:i386 mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common  
mysql-server mysql-server-5.5 mysql-server-core-5.5  
The following NEW packages will be installed:  
percona-server-client-5.5 percona-server-common-5.5 percona-server-server-5.5  
The following packages will be upgraded:  
libmysqlclient-dev libmysqlclient18  
2 upgraded, 3 newly installed, 9 to remove and 2 not upgraded.  
Need to get 35.1 MB of archives.  
After this operation, 18.0 MB of additional disk space will be used.  
Do you want to continue [Y/n]?  
Get:1 [Percona Repo](http://repo.percona.com/apt/) quantal/main libmysqlclient-dev amd64 5.5.29-rel29.4-401.quantal [1,509 kB]  
Get:2 [Percona Repo](http://repo.percona.com/apt/) quantal/main libmysqlclient18 amd64 5.5.29-rel29.4-401.quantal [990 kB]  
Get:3 [Percona Repo](http://repo.percona.com/apt/) quantal/main percona-server-common-5.5 amd64 5.5.29-rel29.4-401.quantal [2,758 B]  
Get:4 [Percona Repo](http://repo.percona.com/apt/) quantal/main percona-server-client-5.5 amd64 5.5.29-rel29.4-401.quantal [9,899 kB]  
Get:5 [Percona Repo](http://repo.percona.com/apt/) quantal/main percona-server-server-5.5 amd64 5.5.29-rel29.4-401.quantal [22.7 MB]  
Fetched 35.1 MB in 3s (10.8 MB/s)  
Preconfiguring packages …  
(Reading database … 173878 files and directories currently installed.)  
Removing libqt4-sql-mysql:i386 …  
Removing libmysqlclient18:i386 …  
Removing mysql-client …  
Removing mysql-server …  
Removing mysql-server-5.5 …  
mysql stop/waiting  
Removing mysql-client-5.5 …  
Removing mysql-client-core-5.5 …  
Processing triggers for libc-bin …  
ldconfig deferred processing now taking place  
Processing triggers for man-db …  
Processing triggers for ureadahead …  
(Reading database … 173738 files and directories currently installed.)  
Preparing to replace libmysqlclient-dev 5.5.29-0ubuntu0.12.10.1 (using …/libmysqlclient-dev\_5.5.29-rel29.4-401.quantal\_amd64.deb) …  
Unpacking replacement libmysqlclient-dev …  
dpkg: error processing /var/cache/apt/archives/libmysqlclient18\_5.5.29-rel29.4-401. quantal\_amd64.deb (–unpack):  
libmysqlclient18:amd64 5.5.29-rel29.4-401.quantal (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances  
No apport report written because MaxReports is reached already  
Processing triggers for man-db …  
Errors were encountered while processing:  
/var/cache/apt/archives/libmysqlclient18\_5.5.29-rel29.4-401. quantal\_amd64.deb  
E: Sub-process /usr/bin/dpkg returned an error code (1)  
root@ubuntu:~/#

---

<div class="post-metadata">

**Author:** ![yoni](https://avatars.discourse-cdn.com/v4/letter/y/ee59a6/32.png) [@yoni](https://forums.percona.com/u/yoni)\
**Post date:** [February 12, 2013, 12:30am UTC](https://forums.percona.com/t/server-5-5-install-fail-on-ubuntu-12-10-amd64/1988/2 "2013-02-12T00:30:07Z")

</div>

OK, I found a workaround for this problem.  
This key is to remove all mysql installation BEFORE adding percona repos to sources lists.

This should do the work:

# apt-get remove mysql-server mysql-server-5.5 mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-server-core-5.5 mysql-common libmysqlclient18:i386 libmysqlclient18:amd64

# dpkg --purge libmysqlclient18:i386

# dpkg --purge libmysqlclient18:amd64

Now add percona repos, apt-get update, and apt-get install percona-server-server-5.5
