root@xenial:~# apt install percona-server-server percona-server-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
mecab-ipadic mecab-ipadic-utf8 mecab-utils
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
debsums libfile-fnmatch-perl percona-server-common
The following packages will be REMOVED:
mysql-client mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core
The following NEW packages will be installed:
debsums libfile-fnmatch-perl percona-server-client percona-server-common percona-server-server
0 upgraded, 5 newly installed, 5 to remove and 0 not upgraded.
Need to get 40.5 MB of archives.
After this operation, 2,693 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http:Get:2 http:Get:3 http:Get:4 http:Get:5 http:Fetched 40.5 MB in 2s (15.2 MB/s)
Preconfiguring packages ...
(Reading database ... 56572 files and directories currently installed.)
Removing mysql-community-server (8.0.13-1ubuntu16.04) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
dpkg: mysql-community-client: dependency problems, but removing anyway as you requested:
mysql-client depends on mysql-community-client (= 8.0.13-1ubuntu16.04).
Removing mysql-community-client (8.0.13-1ubuntu16.04) ...
Removing mysql-community-client-core (8.0.13-1ubuntu16.04) ...
Processing triggers for man-db (2.7.5-1) ...
Selecting previously unselected package percona-server-client.
(Reading database ... 56499 files and directories currently installed.)
Preparing to unpack .../percona-server-client_8.0.13-3-1.xenial_amd64.deb ...
Unpacking percona-server-client (8.0.13-3-1.xenial) ...
dpkg: error processing archive /var/cache/apt/archives/percona-server-client_8.0.13-3-1.xenial_amd64.deb (--unpack):
trying to overwrite '/usr/bin/innochecksum', which is also in package mysql-community-server-core 8.0.13-1ubuntu16.04
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xenial:~# Connection to 127.0.0.1 closed by remote host.