[ubuntu]安装workbench后无法启动

问题:

在ubuntu下安装mysql-workbench后,无法启动。

原因:

缺少mysql-workbench依赖。

运行sudo apt-get check命令,可以查看缺少哪些依赖:

$ sudo apt-get check
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mysql-workbench-community : Depends: libpcrecpp0v5 (>= 7.7) but it is not installed
                             Depends: libpython2.7 (>= 2.7) but it is not installed
                             Depends: libzip5 (>= 0.10) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

解决方法:

运行sudo apt-get -f install命令安装缺少依赖。
命令执行完成后即可启动mysql-workbench。


版权声明:本文为weixin_42059368原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。