过时的 MySQL WorkBench 软件包存在错误,不允许升级

过时的 MySQL WorkBench 软件包存在错误,不允许升级

我在笔记本电脑上运行 Ubuntu 14.04 LTS。由于依赖关系,可用的 MySQL WorkBench 版本并不多。因此,我或多或少被迫使用 6.3.6,它在导出数据库时存在错误。(异常 => 无法以非 root 用户身份导出数据库。)该错误描述如下这里

有适用于 Linux Ubuntu 16.04 的 WorkBench 6.3.7 可供下载,但我就是不能使用它。 有没有可能在 Ubuntu 14.04 中使用这个 6.3.7?

我的意思是,如果 Canonical 在其软件中心提供相当过时的工作台 v.6.0.8 的升级版本,那不是很好吗?

这些是我的依赖错误,导致我无法安装 6.3.7

peter@peter-LIFEBOOK-S6420:~/Downloads$ sudo dpkg -i mysql-workbench-community-6.3.7-1ubu1604-amd64.deb
(Reading database ... 224508 files and directories currently installed.)
Preparing to unpack mysql-workbench-community-6.3.7-1ubu1604-amd64.deb ...
Unpacking mysql-workbench-community (6.3.7-1ubu1604) over (6.3.7-1ubu1604) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends on libatkmm-1.6-1v5 (>= 2.24.0); however:
  Package libatkmm-1.6-1v5 is not installed.
 mysql-workbench-community depends on libcairo2 (>= 1.14.0); however:
  Version of libcairo2:amd64 on system is 1.13.0~20140204-0ubuntu1.1.
 mysql-workbench-community depends on libcairomm-1.0-1v5 (>= 1.12.0); however:
  Package libcairomm-1.0-1v5 is not installed.
 mysql-workbench-community depends on libglibmm-2.4-1v5 (>= 2.46.0); however:
  Package libglibmm-2.4-1v5 is not installed.
 mysql-workbench-community depends on libgtkmm-2.4-1v5 (>= 1:2.24.0); however:
  Package libgtkmm-2.4-1v5 is not installed.
 mysql-workbench-community depends on libncurses5 (>= 6); however:
  Version of libncurses5:amd64 on system is 5.9+20140118-1ubuntu1.
 mysql-workbench-community depends on libodbc1 (>= 2.3.1); however:
  Version of libodbc1:amd64 on system is 2.2.14p2-5ubuntu5.
 mysql-workbench-community depends on libpangomm-1.4-
dpkg: error processing package mysql-workbench-community (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
^Cdpkg: error processing package shared-mime-info (--install):
 subprocess installed post-installation script was interrupted
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.1) ...
Errors were encountered while processing:
 mysql-workbench-community
 shared-mime-info

我甚至会尝试一个接一个地安装它们,但实际上毫无进展。

答案1

MySQL 似乎不再支持 Xenial 之前的任何版本对于 MySQL 工作台,这意味着可能无法使其仅在 14.04 上运行。(升级的另一个原因...)

在我上面的评论中,我忽略了在我的计算机上有一个 Xenial chroot,有些东西就是从那里运行的(比如 MySQL workbench,尽管它没有我希望的那么友好)。因此,我忘记了我没有“纯”14.04 安装。然而,鉴于此,我认为不可能获得最新的“普遍可用”预构建二进制文件。

MySQL 提供了一个源代码 tarball,您可能希望从源代码下载并编译最新的 MySQL workbench 来查看它是否可行,但我不能保证它一定能行。

相关内容