não pode instalar o mysql-workbench no ubuntu 16.04

1

Se eu executar apt-get install mysql-workbench , recebo os seguintes erros de dependência:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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: libgdal.so.1-1.11.3
                   Depends: libgdal1i (>= 1.8.0) but it is not going to be installed
                   Depends: libpcrecpp0v5 (>= 7.7) but it is not installable
                   Depends: libtinyxml2.6.2v5 but it is not installable
E: Unable to correct problems, you have held broken packages.

e se eu quiser instalar o pacote a partir da fonte:

dpkg -i mysql-workbench-community-6.3.10-1ubuntu16.04-amd64.deb

Eu recebo os seguintes erros:

Selecting previously unselected package mysql-workbench-community.
(Reading database ... 261337 files and directories currently installed.)
Preparing to unpack .../mysql-workbench-community-6.3.10-1ubuntu16.04-amd64.deb ...
Unpacking mysql-workbench-community (6.3.10-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 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 libxerces-c3.1; however:
  Package libxerces-c3.1 is not installed.

dpkg: error processing package mysql-workbench-community (--install):
 dependency problems - leaving unconfigured
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 mysql-workbench-community

Editar: adiciono a saída de dpkg-query -l mysql-*

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-====================================================================
un  mysql-client-5.5                <none>               <none>               (no description available)
un  mysql-client-5.6                <none>               <none>               (no description available)
ii  mysql-client-5.7                5.7.20-0ubuntu0.16.0 amd64                MySQL database client binaries
un  mysql-client-core-5.5           <none>               <none>               (no description available)
un  mysql-client-core-5.6           <none>               <none>               (no description available)
ii  mysql-client-core-5.7           5.7.20-0ubuntu0.16.0 amd64                MySQL database core client binaries
ii  mysql-common                    5.7.20-0ubuntu0.16.0 all                  MySQL database common files, e.g. /etc/mysql/my.cnf
un  mysql-common-5.6                <none>               <none>               (no description available)
un  mysql-server                    <none>               <none>               (no description available)
un  mysql-server-5.5                <none>               <none>               (no description available)
un  mysql-server-5.6                <none>               <none>               (no description available)
ii  mysql-server-5.7                5.7.20-0ubuntu0.16.0 amd64                MySQL database server binaries and system database setup
un  mysql-server-core-5.5           <none>               <none>               (no description available)
un  mysql-server-core-5.6           <none>               <none>               (no description available)
ii  mysql-server-core-5.7           5.7.20-0ubuntu0.16.0 amd64                MySQL database server binaries
ii  mysql-utilities                 1.6.1-2              all                  collection of scripts for managing MySQL servers
un  mysql-workbench                 <none>               <none>               (no description available)
    
por Sinai 24.12.2017 / 10:16

1 resposta

0

Porque é provável que você desative algumas configurações padrão no Ubuntu.

Em Software & Updates , marque as caixas de seleção a seguir como as configurações padrão:

  1. as primeiras 4 caixas de seleção na guia Ubuntu Software
  2. todas as caixas de seleção na guia Updates
por new2cpp 15.02.2018 / 02:46