Cannot install mysql-workbench with mysql-server 5.6 or mariadb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-workbench (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Triaged
|
High
|
Unassigned |
Bug Description
mysql-workbench depends on mysql-client, which is currently at 5.5, so it won't install with mysql-server 5.6 installed:
apt-get install mysql-workbench
...
The following packages have unmet dependencies:
mysql-workbench : Depends: mysql-client
E: Unable to correct problems, you have held broken packages.
apt-get install mysql-client:
...
The following packages have unmet dependencies:
mysql-client : Depends: mysql-client-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: mysql-workbench (not installed)
ProcVersionSign
Uname: Linux 3.13.0-14-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Tue Mar 4 07:38:08 2014
InstallationDate: Installed on 2014-02-08 (23 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140207)
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-workbench
UpgradeStatus: No upgrade log present (probably fresh install)
SRU DOCUMENTATION
[IMPACT]
mysql-workbench as the default GUI cannot be installed on systems where the maintainer either opted to use mysql 5.6 or mariadb.
[TEST CASE]
Install mariadb-client and try to add mysql-workbench. Aptitude will not allow this and you will be forced to revert to mysql-client version 5.5 or abort the installation of mysql-workbench.
[REGRESSION POTENTIAL]
There is some potential for regression here since we are dropping a depends to a recommends.
Debian upstream did this exact change in version 6.2.3+dfsg-7 of the package so it seems unlikely this would be improper. Nonetheless, there should be some testing done to verify there is no obvious breakage by running the GUI.
I tried to do some code inspection but grepping for mysql (the command that would be called) was too generic to be useful.
summary: |
- Cannot install mysql-workbench with mysql-server 5.6 + Cannot install mysql-workbench with mysql-server 5.6 or mariadb |
Changed in mysql-workbench (Ubuntu): | |
assignee: | nobody → Rolf Leggewie (r0lf) |
description: | updated |
no longer affects: | mysql-5.6 (Ubuntu) |
Changed in mysql-workbench (Ubuntu): | |
assignee: | Rolf Leggewie (r0lf) → nobody |
Changed in mysql-workbench (Ubuntu Trusty): | |
importance: | Undecided → High |
status: | New → Triaged |
Thanks for taking your time to repor this issue and help making Ubuntu better.
I was able to reproduce this issue by first installing mysql-server-5.6 and then attempting to install mysql-workbench.