Bug #72210 mysql-workbench-community installation / dependance issue
Submitted: 2 Apr 2014 16:18 Modified: 8 Apr 2014 19:37
Reporter: Simon Fumier Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.1.4 OS:Linux (Ubuntu 13.10)
Assigned to: CPU Architecture:Any

[2 Apr 2014 16:18] Simon Fumier
Description:
For some reason, the mysql-workbench-community .deb file is not able to detect the installation of the required percona-server-client package. It looks for the version 5.5 as per the error message, but cannot detect that 5.6 is installed

How to repeat:
Traces:

dpkg -i mysql-workbench-community-6.1.4-1ubu1310-amd64.deb 
Selecting previously unselected package mysql-workbench-community.
(Reading database ... 253039 files and directories currently installed.)
Unpacking mysql-workbench-community (from mysql-workbench-community-6.1.4-1ubu1310-amd64.deb) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends on mysql-client; however:
  Package mysql-client is not installed.
  Package percona-server-client-5.5 which provides mysql-client is not installed.

dpkg: error processing mysql-workbench-community (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support ...
Processing triggers for shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 mysql-workbench-community

dpkg --list | grep mysql | grep ^i
ii  libdbd-mysql-perl                                                    4.023-1                                 amd64        Perl5 database interface to the MySQL database
ii  libmysqlclient18                                                     5.5.35-rel33.0-611.saucy                amd64        Percona Server database client library
ii  percona-server-common-5.6                                            5.6.16-64.2-569.saucy                   amd64        Percona Server database common files (e.g. /etc/mysql/my.cnf)
ii  php5-mysql                                                           5.5.3+dfsg-1ubuntu2.2                   amd64        MySQL module for php5

dpkg --list | grep percona | grep ^i
ii  libperconaserverclient18.1                                           5.6.16-64.2-569.saucy                   amd64        Percona Server database client library
ii  percona-server-client-5.6                                            5.6.16-64.2-569.saucy                   amd64        Percona Server database client binaries
ii  percona-server-common-5.6                                            5.6.16-64.2-569.saucy                   amd64        Percona Server database common files (e.g. /etc/mysql/my.cnf)
ii  percona-server-server-5.6                                            5.6.16-64.2-569.saucy                   amd64        Percona Server database server binaries

Suggested fix:
Allow the use of percona-server-client-5.6 lib?
[7 Apr 2014 12:40] Alfredo Kojima
The WB package for Ubuntu needs the mysql client package from Ubuntu. Unofficial variants of MySQL are not tested and also have a different client library name from the one we link to, so WB will not work with these.
[8 Apr 2014 19:37] Simon Fumier
Hello,

Thanks for the reply. I did figure that out, since the official documentation for percona clearly states a change in the mysql-client package name. My question is: since the issue is only a naming issue, which files does MW checks upon launch? The idea is to create the right symlink

Thank you