1. 将 MySQL-client-5.1.62-1.glibc23.x86_64.rpm 包专程deb包
2. 安装deb包
Selecting previously unselected package mysql-workbench-gpl.
(Reading database ... 162022 files and directories currently installed.)
Unpacking mysql-workbench-gpl (from mysql-workbench-gpl-5.2.38-1ubu1104-amd64.deb) ...
dpkg: dependency problems prevent configuration of mysql-workbench-gpl:
mysql-workbench-gpl depends on
libzip1 (>= 0.8); however:
Package libzip1 is not installed.
mysql-workbench-gpl depends on
python-paramiko; however:
Package python-paramiko is not installed.
mysql-workbench-gpl depends on
python-pysqlite2; however:
Package python-pysqlite2 is not installed.
dpkg: error processing mysql-workbench-gpl (--install):
dependency problems - leaving unconfigured
Processing triggers for shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Errors were encountered while processing:
mysql-workbench-gpl
出现依赖性错误
sudo apt-get install libzip1 python-paramiko python-pysqlite2
执行该语句解决依赖性问题,发现还是有错误,libzip1 无法安装
手动下载:
具体下载目录在 /2012年资料/4月/9日/64位Ubuntu 12.04 安装mysql-workbench问题解决记录 /
如果安装失败,可以多试试几个版本
完了以后:
sudo dpkg -i mysql-workbench-gpl-5.2.38-1ubu1104-amd64.deb
OK