No puedo instalar MySQL Workbench. Dice el siguiente error:
The following packages have unmet dependencies:
mysql-workbench: Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.3-0ubuntu4 is to be installed
Depends: libgtkmm-2.4-1c2a (>= 1:2.24.0) but 1:2.24.4-1ubuntu1 is to be installed
Depends: libpcrecpp0 (>= 7.7) but 1:8.31-2ubuntu2.1 is to be installed
Depends: python:any (>= 2.7.1-0ubuntu2) but it is a virtual package
Depends: mysql-workbench-data (= 6.0.8+dfsg-2) but 6.0.8+dfsg-2 is to be nstalled
¿Cómo puedo arreglar esto? Estoy ejecutando Ubuntu 14.04 LTS
Respuesta1
Deberá instalar todas las dependencias antes de instalar MySQL Workbench.
Pruebe este comando:
sudo apt-get install libgcc1 libgtkmm-2.4-1c2a libpcrecpp0 python mysql-workbench-data
Respuesta2
Aquí está mi solución:
sudo apt-get update
sudo apt-get install mysql-client-5.5
sudo apt-get install mysql-client
sudo apt-get install mysql-workbench
Tuve el mismo problema y lo hice funcionar. Tuve que hacerlo a través de la línea de comando. Creo que lo que me causó este problema fue que hice apt-get install mysql-client-5.6 antes de instalar cualquier otro material de mysql.
Primero sudo apt-get update
, luego intenté instalar apt-get install mysql-workbench, pero recibí este error que me indicó el siguiente paso.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mysql-workbench : Depends: mysql-client
E: Unable to correct problems, you have held broken packages.
Así lo hice sudo apt-get install mysql-client
, pero me dio un error similar pero me dijo que necesitaba mysql-client-5.5. Así lo hice sudo apt-get install mysql-client-5.5
y funcionó. Luego instalé mysql-client y funcionó. Luego instalé mysql-workbench y ¡funcionó!
PD: Felicitaciones a Sanchit. Lo primero que hice fue seguir la respuesta de Sanchit: sudo apt-get install libgcc1 libgtkmm-2.4-1c2a libpcrecpp0 python mysql-workbench-data
pero intenté nuevamente instalar a través del Centro de software de Ubuntu y obtuve el mismo error. Pero ahora no sé si ese fue un paso necesario o no. En ese momento lo intenté a través de la línea de comando, con la mentalidad de que solo era cuestión de instalar los paquetes correctos para cumplir con las dependencias.
Respuesta3
Tuve el mismo error, lo tuve sudo apt-get update
después de agregar APT y el banco de trabajo instalado, pero no pude funcionar. Ejecuté este comando:
sudo apt-get -f install
y reinstalado con
sudo apt-get install mysql-workbench-community
Y funcionó.