9

尝试在 ubuntu 19.04 上安装 libzip4 以获取 mysql-workbench 依赖项

安装方法:

sudo apt install ./mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb

错误信息:

mysql-workbench-community : Depends: libzip4 (>= 0.10) but it is not installable

apt安装列表:

sudo apt install libzip libzip5 libzip-dev libzipios++0v5 libzipios++-dev libzipios++-doc libzip-ocaml libzip-ocaml-dev

尝试安装 php-zip,希望它会安装 libzip4,但失败了!

如果有人能提供很棒的指导,我不确定还有其他方法可以解决这个问题!

4

1 回答 1

12

正如名称mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb所建议的那样,它是为具有libzip4的 Ubuntu 18.04 打包的。您可以将 Ubuntu 18.04 软件包存储库添加到您的 Ubuntu 19.04 安装中,如下所示:

$ echo deb http://archive.ubuntu.com/ubuntu/ bionic universe | sudo tee /etc/apt/sources.list.d/bionic.list
$ sudo apt-get update

然后您将能够安装:

$ sudo apt install ./mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb
于 2019-05-24T14:44:23.877 回答