9

trying to install libzip4 on ubuntu 19.04 for mysql-workbench dependency

Install method:

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

error message:

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

apt install list:

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

Tried installing php-zip with the hopes it would install libzip4 but that was fails!

I am not sure of any other way to solve this issue if anyone could provide guidance that would be amazing!!

K3NN3TH
  • 1,458
  • 2
  • 19
  • 31

2 Answers2

12

As suggested by the name mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb was packaged for Ubuntu 18.04 which has libzip4. You can add the Ubuntu 18.04 package repository to your Ubuntu 19.04 installation like so:

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

And you will then be able to install with:

$ sudo apt install ./mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb
singuliere
  • 767
  • 10
  • 19
  • i ran the following without success : `sudo echo deb http://archive.ubuntu.com/ubuntu/ bionic universe > /etc/apt/sources.list.d/bionic.list bash: /etc/apt/sources.list.d/bionic.list: Permission denied` – K3NN3TH May 24 '19 at 16:47
  • 1
    I changed the commands so they can be run when you are not root. Could you please try again with `echo deb http://archive.ubuntu.com/ubuntu/ bionic universe | sudo tee /etc/apt/sources.list.d/bionic.list` ? – singuliere May 24 '19 at 17:23
  • 1
    @K3NN3TH if the solution worked for you, would you mind accepting it? – singuliere Jun 06 '19 at 09:26
0

snap install mysql-workbench-community

0dumz
  • 11
  • 2