Percona 5.7 and postfix-mysql package

Hello,

i’ve succesfully installed percona-server-5.7 on Ubuntu 14.04 (Trusty). All was looking good untill i turn on postfix service. My postfix require “postfix-mysql” package to work, because i store “domains” “mailboxes” ect. in mysql databse.

So as it turn out when i do “apt-get install postfix-mysql” this comand is removing “percona-server-5.7” and other percona’s package. And whan i do “apt-get install pecona-server-server-5.7” the “postfix-mysql” is removed.

I’m using this instruction to install percona-server: https://www.percona.com/doc/percona-server/5.7/installation/apt_repo.html

So the question is, how to install percona server with postfix-mysql package?

I was able to install postfix-mysql alongside PS 5.7.16:

root@postfix:~# dpkg -l |egrep -i ‘percona|postfix’
ii percona-release 0.1-4.trusty all Package to install Percona gpg key and APT repo
ii percona-server-client-5.7 5.7.16-10-1.trusty amd64 Percona Server database client binaries
ii percona-server-common-5.7 5.7.16-10-1.trusty amd64 Percona Server database common files (e.g. /etc/mysql/my.cnf)
ii percona-server-server-5.7 5.7.16-10-1.trusty amd64 Percona Server database server binaries
ii postfix 2.11.0-1ubuntu1 amd64 High-performance mail transport agent
ii postfix-mysql 2.11.0-1ubuntu1 amd64 MySQL map support for Postfix
root@postfix:~# cat /etc/os-release
NAME=“Ubuntu”
VERSION=“14.04.5 LTS, Trusty Tahr”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 14.04.5 LTS”
VERSION_ID=“14.04”
HOME_URL=“http://www.ubuntu.com/
SUPPORT_URL=“http://help.ubuntu.com/
BUG_REPORT_URL=“http://bugs.launchpad.net/ubuntu/

So I wonder what could be the problem in your case. Can you please share the output after you ran ‘apt-get install postfix-mysql’? Can you also share output of “dpkg -l | egrep -i ‘percona|postfix’”

Could you have a look at https://www.percona.com/forums/questions-discussions/mysql-and-percona-server/percona-server-5-7/47600-percona-5-7-and-mysql-common ? Having similar trouble under Debian. I think the problem is postfix-mysql depending on libmysqlclient18.