Code:
sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.org
sudo vi /var/lib/dpkg/status
and remove everything in the section for Package: mysql-community-server
from "Package: mysql-community-server"
to the empty line just above the next "Package: " entry.
Example using mysql-client-core-5.5:
Code:
Package: mysql-client-core-5.5
Status: install ok installed
Priority: optional
Section: database
Installed-Size: 6806
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: mysql-5.5
Version: 5.5.44-0ubuntu0.14.04.1
Replaces: mysql-client (<< 5.5.44-0ubuntu0.14.04.1), mysql-client-5.0, mysql-client-core-5.1
Depends: libc6 (>= 2.14), libreadline6 (>= 6.0), zlib1g (>= 1:1.1.4)
Breaks: mysql-client (<< 5.5.44-0ubuntu0.14.04.1), mysql-client-5.0, mysql-client-core-5.1
Description: MySQL database core client binaries
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes the core client files, as used by Akonadi.
Homepage: http://dev.mysql.com/
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
<empty line>
That should fix it. Works on Ubu and Mint, so why not Debian?
your apt-get actions should no longer complain.