The same issue on a few Debian Squeeze servers we have tried to upgrade, all running mariadb-5.5.25 and mytop installed.
To recover and install MariaDB again it was required to not only remove & purge mytop, but also rm -f /usr/bin/mytop because it was not really deleted for some reason. It looks like mytop bundled with MariaDB doesn't check and upgrade existing mytop package properly.
dpkg: error processing /var/cache/apt/archives/mytop_1.6-6_all.deb (--unpack):
trying to overwrite '/usr/bin/mytop', which is also in package mariadb-client-5.5 5.5.27-mariadb1~squeeze
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/mytop_1.6-6_all.deb
Setting up libconfig-inifiles-perl (2.52-1) ...
Setting up libmariadbclient-dev (5.5.27-mariadb1~squeeze) ...
Setting up libmariadbd-dev (5.5.27-mariadb1~squeeze) ...
The same issue on a few Debian Squeeze servers we have tried to upgrade, all running mariadb-5.5.25 and mytop installed.
To recover and install MariaDB again it was required to not only remove & purge mytop, but also rm -f /usr/bin/mytop because it was not really deleted for some reason. It looks like mytop bundled with MariaDB doesn't check and upgrade existing mytop package properly.
dpkg: error processing /var/cache/ apt/archives/ mytop_1. 6-6_all. deb (--unpack): mariadb1~ squeeze apt/archives/ mytop_1. 6-6_all. deb inifiles- perl (2.52-1) ... t-dev (5.5.27- mariadb1~ squeeze) ... mariadb1~ squeeze) ...
trying to overwrite '/usr/bin/mytop', which is also in package mariadb-client-5.5 5.5.27-
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/
Setting up libconfig-
Setting up libmariadbclien
Setting up libmariadbd-dev (5.5.27-