gpt4 book ai didi

mysql - 在 ubuntu 12.04 上安装 mysql workbench 时出现依赖错误

转载 作者:太空狗 更新时间:2023-10-29 11:24:44 29 4
gpt4 key购买 nike

我正在尝试安装 mysql workbench。我收到以下错误。它似乎在某个默认目录中寻找 mysql。我已经安装了所有必需的东西,但没有安装在 mysqlworkbench 期望的位置。出路何在!

local@host:/var/www/$ sudo apt-get -f 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: libctemplate0 but it is not going to be installed
Depends: libgtkmm-2.4-1c2a (>= 1:2.24.0) but it is not going to be installed
Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
Depends: libtinyxml2.6.2 but it is not going to be installed
Depends: libzip2 (>= 0.10) but it is not going to be installed
Depends: mysql-workbench-data (= 5.2.38+dfsg-3) but it is not going to be installed
Depends: mysql-client
Depends: python-mysql.connector but it is not going to be installed
Depends: python-paramiko but it is not going to be installed
Depends: python-pysqlite2 but it is not going to be installed
Depends: python-all 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 installable
mysql-workbench-community : Depends: libctemplate2 but it is not installable
Depends: libglib2.0-0 (>= 2.35.9) but 2.32.3-0ubuntu1 is to be installed
Depends: libglibmm-2.4-1c2a (>= 2.33.13) but 2.32.0-0ubuntu1 is to be installed
Depends: libgtkmm-2.4-1c2a (>= 1:2.24.0) but it is not going to be installed
Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
Depends: libpcrecpp0 (>= 7.7) but it is not going to be installed
Depends: libtinyxml2.6.2 but it is not going to be installed
Depends: libzip2 (>= 0.10) but it is not going to be installed
Depends: python-paramiko but it is not going to be installed
Depends: mysql-client
Depends: python-pysqlite2 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

最佳答案

你可能跑了

dpkg -i mysql-workbench.deb

这不起作用,因为 dpkg 不解析依赖关系,现在 MySQL Workbench 的安装被破坏了。改为运行此命令:

sudo apt-get -f install

之后 MySQL Workbench 应该可以正常安装了。

另请记住,我们提供 downloads for Ubuntu (从下拉列表中选择 Ubuntu Linux)。

关于mysql - 在 ubuntu 12.04 上安装 mysql workbench 时出现依赖错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20396462/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com