Comment 4 for bug 1047337

Revision history for this message
Omega8.cc (g-admin-omega8-cc) wrote :

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) ...