简体   繁体   English

MySQL Workbench未安装在ubuntu上

[英]MySQL Workbench doesn't install on ubuntu

Package dependencies cannot be resolved 包依赖关系无法解决

When I try to install workbench appears this error. 当我尝试安装工作台时出现此错误。

在此处输入图片说明

1# you could update your cache 1#您可以更新缓存

sudo apt-get update

and then try to let apt-get resolve the problem: 然后尝试让apt-get解决问题:

sudo apt-get -f install

The -f flag fixes broken dependencies. -f标志修复了损坏的依赖关系。

2# Sometimes the -f option is not going to work for you. 2#有时-f选项对您不起作用。 If it doesn't work, then you have to install the package giving an exact version. 如果它不起作用,则必须安装提供确切版本的软件包。 In order to do so, you can use = to set the version the system wants. 为此,可以使用=设置系统所需的版本。

For example: 例如:

sudo apt-get install apache2=2.2.20-1ubuntu1
sudo apt-get install mysql-server=5.5

There is Ubuntu repository for MySQL Workbench: 有适用于MySQL Workbench的Ubuntu存储库:

You sould use it to install MySQL Workbench. 您可以使用它来安装MySQL Workbench。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM