嗨,我刚刚安装了Ubuntu 14的最新版本,现在我需要安装MySql Workbench。
我从mysql站点下载了.deb包,但是当我尝试安装它时,出现此错误:
Preparing to unpack .../mysql-workbench-community-6.1.4-1ubu1310-amd64.deb ...
Unpacking mysql-workbench-community (6.1.4-1ubu1310) ...
dpkg:dependency problems prevent configuration of mysql-workbench-community:
mysql-workbench-community depends to mysql-client; however:
The mysql-client package didn't install.
dpkg: error processing package mysql-workbench-community (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
mysql-workbench-community
我尝试运行sudo apt-get -f install
和sudo apt-get update
,我尝试手动安装依赖项,但是没有用。
你能帮助我吗?
谢谢
编辑:
I ran: `dpkg --get-selections | grep mysql`
我得到这个:
libdbd-mysql-perl install
libmysqlclient18:amd64 install
mysql-client-5.6 install
mysql-client-core-5.6 install
mysql-common install
mysql-common-5.6 install
mysql-server-5.6 install
mysql-server-core-5.6 install
mysql-workbench-community deinstall
我以这种方式解决了:
1)卸载MySQL服务器
2)删除有关mysql-workbench的所有配置
3)我不是在mysql站点上使用.tar.gz,而是由Software Center安装所有软件。
现在可以用了。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句