ubuntu16.04安裝workbench


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

報錯:

Selecting previously unselected package mysql-workbench-community.
(Reading database ... 216034 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 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 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 pyth
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 gnome-menus (3.13.3-6ubuntu3.1) ...
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 mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 mysql-workbench-community

然后執行

sudo apt install libgeos-c1v5 libhdf4-0-alt libmysqlclient20 libnetcdf11 libpcrecpp0v5 libpq5 libxerces-c3.1 libzip4 python-paramiko

繼續報錯:

skh@skh-vm:~/Downloads$ sudo apt-get install libpq5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 mysql-workbench-community : Depends: libgeos-c1v5 (>= 3.4.2) but it is not going to be installed
                             Depends: libhdf4-0-alt but it is not going to be installed
                             Depends: libmysqlclient20 (>= 5.7.11) but it is not going to be installed
                             Depends: libnetcdf11 (>= 4.0.1) but it is not going to be installed
                             Depends: libpcrecpp0v5 (>= 7.7) but it is not going to be installed
                             Depends: libxerces-c3.1 but it is not going to be installed
                             Depends: libzip4 (>= 0.10) but it is not going to be installed
                             Depends: python-paramiko (>= 1.15.1) but it is not going to be installed
                             Depends: python-crypto but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

根據提示,執行如下命令:

sudo apt-get -f install 

然后再執行安裝:

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

 


有問題歡迎留言交流。

技術交流群:282575808

--------------------------------------

聲明: 原創文章,未經允許,禁止轉載!

--------------------------------------


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM