Hi I m trying to use percona server to replace mysql normal distribution to see if I get better performance, but while in instalation process I got this error I already remove MariaDB but still got this error, Please If you know how to help would be nice.
root@server:~# apt-get install percona-server-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libmecab2 percona-server-client percona-server-common
The following packages will be REMOVED:
default-mysql-server mariadb-client-10.1 mariadb-client-core-10.1 mariadb-server-10.1 mariadb-server-core-10.1 mysql-server
The following NEW packages will be installed:
libmecab2 percona-server-client percona-server-common percona-server-server
0 upgraded, 4 newly installed, 6 to remove and 7 not upgraded.
Need to get 0 B/49.1 MB of archives.
After this operation, 184 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages …
(Reading database … 135002 files and directories currently installed.)
Preparing to unpack …/percona-server-common_8.0.16-7-1.stretch_amd64.deb …
Unpacking percona-server-common (8.0.16-7-1.stretch) …
Replacing files in old package mysql-common (5.8+1.0.2) …
dpkg: error processing archive /var/cache/apt/archives/percona-server-common_8.0.16-7-1.stretch_amd64.deb (–unpack):
trying to overwrite ‘/usr/share/mysql/charsets/Index.xml’, which is also in package mariadb-server-core-10.1 10.1.38-0+deb9u1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/percona-server-common_8.0.16-7-1.stretch_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@server:~#