无法在 ubuntu 19.04 上安装 libzip4

unable to install libzip4 on 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,但失败了!

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

正如名字 mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb was packaged for Ubuntu 18.04 which has libzip4 所建议的那样。您可以像这样将 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