在 debian wheezy amd64 上安装 mysql workbench

在 debian wheezy amd64 上安装 mysql workbench

我尝试在 debian wheezy amd64 上安装 mysql workbench 但有许多依赖项:

~$ sudo apt-get install mysql-workbench
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 : Depends: libctemplate2 but it is not going to be installed
               Depends: libtinyxml2.6.2 but it is not going to be installed
               Depends: mysql-workbench-data (= 5.2.40+dfsg-2) but it is not going to be       installed
               Depends: python-mysql.connector but it is not going to be installed
               Recommends: ttf-bitstream-vera but it is not going to be installed
               Recommends: mysql-utilities but it is not going to be installed
 mysql-workbench-gpl : Depends: libctemplate0 but it is not installable
                   Depends: libmysqlclient16 (>= 5.1.21-1) but it is not installable
                   Depends: libzip1 (>= 0.8) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

当我尝试安装该库时,我得到:

$ sudo apt-get install libzip1
...
Package libzip1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libzip1' has no installation candidate

还有其他方法可以安装 mysql-workbench 吗?我也下载了 deb 文件和源代码 - 但没有成功。

附言

我的来源列表:

# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130504- 14:43]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130504-14:43]/ wheezy main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ wheezy/updates main
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://ftp.debian.org/debian/ wheezy main
deb-src http://ftp.debian.org/debian/ wheezy main

deb http://ftp.debian.org/debian/ wheezy-updates main
deb-src http://ftp.debian.org/debian/ wheezy-updates main

答案1

从您的 source.list 看来,您只包含“main”组件。一些软件包位于“contrib”组件下,这就是 apt-get 无法安装某些软件包的原因(因为在 apt-get 的软件包数据库中没有这些软件包的记录)。

请阅读 Debian Wiki 页面https://wiki.debian.org/SourcesList修改你的 source.list 并执行“apt-get update”。

答案2

根据MySQL 文档页面MySQL Workbench 不支持 Debian 平台(强调添加):

mysql-workbench-community:MySQL 工作台(不适用于 Debian 平台

相关内容