错误如下所示:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-workbench 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 'mysql-workbench' has no installation candidate
我该如何安装它?
对于不愿意等待的人,您可以尝试使用 DBeaver。我可以确认它适用于 Ubuntu 19.04。如果你坚持使用Workbench,也可以通过wine 运行Windows 版本(性能似乎没有受到影响)。
也可以从https://dev.mysql.com/downloads/workbench/安装 mysql-workbench 的 ubuntu 18 包
要使其正常工作,您首先必须完成依赖项:从https://packages.ubuntu.com/bionic/libzip4下载 libzip4并安装它。第二个依赖项,遗憾的是我不再知道了,你可以通过 apt 安装包来解决。