Erro na instalação do ambiente de trabalho

1

Estou tentando instalar o mysql workbench no Ubuntu 16.04. Acabei de instalar o sistema operacional.

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
    
por Lucas Thibau Paulino 21.07.2017 / 15:14

1 resposta

1

Esse problema é devido a que mysql-workbench-community dependências de pacotes não são instaladas antes.

Portanto, tente instalá-los antes de instalar o mysql-workbench-community package.

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 como alternativa alternativa e melhor maneira , automatize este processo de instalação em gdebi :

sudo apt install gdebi
sudo gdebi mysql-workbench-community-6.3.9-1ubuntu16.04-amd64.deb

UPDATE : Ambos libjasper1 e libpng12-0 estão disponíveis nos repositórios do Xenial.

Portanto, para instalá-los, seus repositórios xenial-security main e xenial main devem ser ativados. Em seguida, tente sudo apt update . Agora você pode instalá-los.

Além disso, como segunda opção, você pode baixar e instalar esses pacotes manualmente:

libjasper1 para o Xenial 64 bits: faça o download

libpng12-0 para o Xenial 64 bits: downlaod

Em seguida, instale-os com este comando:

sudo gdebi libjasper1_1.900.1-debian1-2.4ubuntu1.1_amd64.deb libpng12-0_1.2.54-1ubuntu1_amd64.deb
    
por Ali Razmdideh 21.07.2017 / 15:43