无法在Ubuntu 19.04上安装libzip4

时间:2019-05-24 14:26:36

标签: mysql ubuntu workbench libzip ubuntu-19.04

尝试在ubuntu 19.04上安装mysql-workbench依赖项的libzip4

安装方法:

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,但这失败了!

如果有人可以提供令人惊叹的指导,我不确定是否有其他方法可以解决此问题!

1 个答案:

答案 0 :(得分:1)

名称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