Problema de instalação do MySQL Workbench no Ubuntu 12.04, sistema de 64 bits

1

Estou recebendo erros do pacote de dependências como:

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

Eu tentei executar apt-get -f install , mas não tive sucesso algum. Eu também tentei instalar esses pacotes dependentes como:

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

Como corrijo isso?

    
por Abdul Manaf 18.02.2013 / 07:33

4 respostas

2

Você já tentou com o gdebi? Eu instalei com sucesso o seguinte:

sudo apt-get install gdebi-core
sudo gdebi ~/Downloads/mysql-workbench-gpl-5.2.47-1ubu1204-amd64.deb

Ao contrário de apt , gdebi capaz de resolver corretamente as dependências.

    
por LucaB 18.02.2013 / 10:19
0

É fácil acessar o Ubuntu Software Center e digitar

mysql-client

e instale-o para que suas dependências também sejam instaladas. Em seguida, abra um terminal e digite:

sudo -i
dpkg -i package.deb  <use your package name here>

Eu acho que vai funcionar.

    
por mohsin khan 13.07.2013 / 10:37
0

Isso pode não ser o método preferido, mas eu o instalo do site.

link

Se você está no 12.04, é muito desatualizado e programas como o MySQL workbench são bons programas para obter os melhores e mais recentes recursos.

    
por Goddard 17.10.2013 / 18:32
0

Use este comando

sudo apt-get upgrade
sudo dpkg --force-all -i mysql-workbench-community-6.0.8-1ubu1304-amd64.deb

e para removê-lo

sudo apt-get -f install
    
por Zeroows 09.12.2013 / 23:04