Bug #81198 unmet dependencies with mysql-client-5.6
Submitted: 26 Apr 2016 4:41 Modified: 2 Jun 2016 8:21
Reporter: Nikhil S Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Packaging Severity:S1 (Critical)
Version:5.6 OS:Ubuntu (15.10)
Assigned to: CPU Architecture:Any
Tags: mysql5.6

[26 Apr 2016 4:41] Nikhil S
Description:
I am not able to access mysql , even am not able to reinstall or purge the packages. 

dpkg -l | grep mysql
ii  libcrypt-mysql-perl                           0.04-6                                     amd64        Perl module to emulate the MySQL PASSWORD() function
ii  libdbd-mysql-perl                             4.028-2                                    amd64        Perl5 database interface to the MySQL database
ii  libmysqlclient18:amd64                        5.6.30-0ubuntu0.15.10.1                    amd64        MySQL database client library
rc  libmysqlclient18:i386                         5.6.30-0ubuntu0.15.10.1                    i386         MySQL database client library
ii  mysql-client                                  5.6.30-0ubuntu0.15.10.1                    all          MySQL database client (metapackage depending on the latest version)
ii  mysql-common                                  5.6.30-0ubuntu0.15.10.1                    all          MySQL database common files, e.g. /etc/mysql/my.cnf
rc  mysql-server-5.6                              5.6.30-0ubuntu0.15.10.1                    amd64        MySQL database server binaries and system database setup
ii  mysql-workbench-community                     6.3.6-1ubu1510                             amd64        MySQL Workbench
ii  php7.0-mysql                                  7.0.5-3+donate.sury.org~wily+1       

Please see the log for purge command

sudo apt-get purge libmysqlclient18
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libdbd-mysql-perl : Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not going to be installed
 mysql-client : Depends: mysql-client-5.6 but it is not going to be installed
 mysql-workbench-community : Depends: libmysqlclient18 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

How to repeat:
I am not able to access mysql , even am not able to reinstall or purge the packages. 

dpkg -l | grep mysql
ii  libcrypt-mysql-perl                           0.04-6                                     amd64        Perl module to emulate the MySQL PASSWORD() function
ii  libdbd-mysql-perl                             4.028-2                                    amd64        Perl5 database interface to the MySQL database
ii  libmysqlclient18:amd64                        5.6.30-0ubuntu0.15.10.1                    amd64        MySQL database client library
rc  libmysqlclient18:i386                         5.6.30-0ubuntu0.15.10.1                    i386         MySQL database client library
ii  mysql-client                                  5.6.30-0ubuntu0.15.10.1                    all          MySQL database client (metapackage depending on the latest version)
ii  mysql-common                                  5.6.30-0ubuntu0.15.10.1                    all          MySQL database common files, e.g. /etc/mysql/my.cnf
rc  mysql-server-5.6                              5.6.30-0ubuntu0.15.10.1                    amd64        MySQL database server binaries and system database setup
ii  mysql-workbench-community                     6.3.6-1ubu1510                             amd64        MySQL Workbench
ii  php7.0-mysql                                  7.0.5-3+donate.sury.org~wily+1       

Please see the log for purge command

sudo apt-get purge libmysqlclient18
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libdbd-mysql-perl : Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not going to be installed
 mysql-client : Depends: mysql-client-5.6 but it is not going to be installed
 mysql-workbench-community : Depends: libmysqlclient18 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[27 Apr 2016 10:12] Lars Tangvald
Hi,

I was able to reproduce this by adding the MySQL 5.6 repo from mysql-apt-config.
Do you have a mysql.list in /etc/apt/sources.list.d?
[3 Jun 2016 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".