Je reçois des erreurs de paquet de dépendance en tant que:
root@osscube:/home/abdul/Downloads# dpkg -i mysql-workbench-gpl-5.2.47-1ubu1004-AMD64.deb
Selecting previously unselected package mysql-workbench-gpl.
(Reading database ... 153925 files and directories currently installed.)
Unpacking mysql-workbench-gpl (from mysql-workbench-gpl-5.2.47-1ubu1004-AMD64.deb) ...
dpkg: dependency problems prevent configuration of mysql-workbench-gpl:
mysql-workbench-gpl depends on libmysqlclient16 (>= 5.1.21-1); however:
Package libmysqlclient16 is not installed.
mysql-workbench-gpl depends on libpython2.6 (>= 2.6); however:
Package libpython2.6 is not installed.
mysql-workbench-gpl depends on libzip1 (>= 0.9); however:
Package libzip1 is not installed.
mysql-workbench-gpl depends on python-paramiko; however:
Package python-paramiko is not installed.
mysql-workbench-gpl depends on python-pysqlite2; however:
Package python-pysqlite2 is not installed.
dpkg: error processing mysql-workbench-gpl (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Errors were encountered while processing:
mysql-workbench-gpl
J'ai essayé de lancer apt-get -f install
, mais je n'ai pas eu de succès. J'ai également essayé d'installer ces paquets dépendants en tant que:
apt-get install libmysqlclient16 libpython2.6 libzip1 python-paramiko python-pysqlite2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmysqlclient16 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libpython2.6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libzip1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libmysqlclient16' has no installation candidate
E: Package 'libpython2.6' has no installation candidate
E: Package 'libzip1' has no installation candidate
Comment puis-je réparer ça?
Avez-vous essayé avec gdebi? Je l'ai installé avec succès avec les éléments suivants:
Sudo apt-get install gdebi-core
Sudo gdebi ~/Downloads/mysql-workbench-gpl-5.2.47-1ubu1204-AMD64.deb
Contrairement à apt
, gdebi
capable de résoudre correctement les dépendances.
Il est facile d'aller à Centre du logiciel Ubunt et de taper
mysql-client
et installez-le pour que vos dépendances s’installent aussi. Puis ouvrez un terminal et tapez:
Sudo -i
dpkg -i package.deb <use your package name here>
Je suppose que ça va marcher.
Utilisez cette commande
Sudo apt-get upgrade
Sudo dpkg --force-all -i mysql-workbench-community-6.0.8-1ubu1304-AMD64.deb
et l'enlever
Sudo apt-get -f install
Ce n'est peut-être pas la méthode préférée, mais je l'installe à partir du site.
http://dev.mysql.com/downloads/tools/workbench/
Si vous utilisez la version 12.04, il est plutôt obsolète et des programmes tels que MySQL Workbench sont de bons programmes pour obtenir les fonctionnalités les plus récentes et les plus performantes.