J'essaie d'installer mysql workbench dans Ubuntu 16.04. Je viens d'installer le système d'exploitation.
Sudo dpkg -i mysql-workbench-community-6.3.9-1ubuntu16.04-AMD64.deb
[Sudo] password for lucas:
Selecting previously unselected package mysql-workbench-community.
(Reading database ... 179177 files and directories currently installed.)
Preparing to unpack mysql-workbench-community-6.3.9-1ubuntu16.04-AMD64.deb ...
Unpacking mysql-workbench-community (6.3.9-1ubuntu16.04) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
mysql-workbench-community depends on libgeos-c1v5 (>= 3.4.2); however:
Package libgeos-c1v5 is not installed.
mysql-workbench-community depends on libhdf4-0-alt; however:
Package libhdf4-0-alt is not installed.
mysql-workbench-community depends on libjasper1; however:
Package libjasper1 is not installed.
mysql-workbench-community depends on libmysqlclient20 (>= 5.7.11); however:
Package libmysqlclient20 is not installed.
mysql-workbench-community depends on libnetcdf11 (>= 4.0.1); however:
Package libnetcdf11 is not installed.
mysql-workbench-community depends on libpcrecpp0v5 (>= 7.7); however:
Package libpcrecpp0v5 is not installed.
mysql-workbench-community depends on libpng12-0 (>= 1.2.13-4); however:
Package libpng12-0 is not installed.
mysql-workbench-community depends on libpq5; however:
Package libpq5 is not installed.
mysql-workbench-community depends on libxerces-c3.1; however:
Package libxerces-c3.1 is not installed.
mysql-workbench-community depends on libzip4 (>= 0.10); however:
Package libzip4 is not installed.
mysql-workbench-community depends on python-paramiko (>= 1.15.1); however:
Package python-paramiko is not installed.
mysql-workbench-community depends on python-crypto; however:
Package python-crypto is not installed.
dpkg: error processing package mysql-workbench-community (--install):
dependency problems - leaving unconfigured
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
mysql-workbench-community
Ce problème est dû au fait que les dépendances de package mysql-workbench-community
ne sont pas installées auparavant.
Essayez donc de les installer avant d'installer le package mysql-workbench-community
.
Sudo apt update
Sudo apt install libgeos-c1v5 libhdf4-0-alt libjasper1 libmysqlclient20 libnetcdf11 libpcrecpp0v5 libpng12-0 libpq5 libxerces-c3.1 libzip4 python-paramiko python-crypto
Sudo dpkg -i mysql-workbench-community-6.3.9-1ubuntu16.04-AMD64.deb
Ou comme alternative et meilleure façon d'automatiser ce processus d'installation par gdebi
:
Sudo apt install gdebi
Sudo gdebi mysql-workbench-community-6.3.9-1ubuntu16.04-AMD64.deb
UPDATE: Les deux packages libjasper1 et libpng12- sont disponibles dans les référentiels Xenial.
Donc, pour les installer, vos référentiels xenial-security main
et xenial main
doivent être activés. Puis essayez Sudo apt update
. Maintenant, vous pouvez les installer.
En tant que deuxième option, vous pouvez également télécharger et installer ces packages manuellement:
libjasper1
pour Xenial 64 bits: téléchargement
libpng12-0
pour Xenial 64 bits: téléchargement
Puis installez-les avec cette commande:
Sudo gdebi libjasper1_1.900.1-debian1-2.4ubuntu1.1_AMD64.deb libpng12-0_1.2.54-1ubuntu1_AMD64.deb