Dependencies not found. Zip package already installed, but still complaining

Hello everyone,

I am new with Nextcloud, but I did install it a few months earlier on my server.

My issue is that I am trying to install it by the setup-nextcloud.php script, but when clicking on the “Next” button on the Setup Wizard it says:

Dependencies not found.
The following PHP modules are required to use Nextcloud:

  • zip

So I went to check if it was already installed (zip package) on my server and it does. I also tried to remove it and install it again but I still getting the same message. I saw another thread where people talk about PHP version, mine is the latest one 7.3, don’t know if it has something to do with that…

Any ideas about what could it be?

Thank you so much for helping!

I think, that although the package is named “zip”, you usually need to install the php module package too, which is most likely named “php7.xx-zip”?!

1 Like

@kalu_ucher @j-ed
Normally you install the version without the number because there is a dependency and an automatic install of "“php7.xx-zip”.

Debian 10 Buster (php-zip):
https://packages.debian.org/buster/php-zip -> php7.3-zip
Ubuntu 20.04 LTS (php-zip)
https://packages.ubuntu.com/focal/php-zip -> php7.4-zip

With Update from Debian 10 to Debian 11 (-> php7.4-zip) or Ubuntu 20.04 LTS to 22.04 LTS (-> ???) then automatically you get the correct php-zip-version.

2 Likes

@devnull @j-ed
Thanks for replying guys :slight_smile:

I couldn’t check it properly yesterday, but having a look at it now I see that the packages are already install. I also tried to remove them and then reinstall both (php-zip and php7.3-zip) but didn’t get results.

apt list --installed | grep “zip” prompt this:

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

bzip2/stable,now 1.0.6-9.2~deb10u1 amd64 [installed,automatic]
gzip/stable,now 1.9-3 amd64 [installed]
libzip4/stable,now 1.5.1-4 amd64 [installed,automatic]
p7zip/stable,now 16.02+dfsg-6 amd64 [installed,automatic]
php-zip/stable,now 2:7.3+69 all [installed]
php7.3-zip/stable,stable,now 7.3.19-1~deb10u1 amd64 [installed]
unzip/stable,now 6.0-23+deb10u1 amd64 [installed,automatic]
zip/stable,now 3.0-11+b1 amd64 [installed,automatic]

Any ideas?
Thanks for helping, I really appreciate that!

Seems ok for Debian Buster.
Have you installed multiple php?

dpkg -l|grep php

1 Like

This is what it returns, don’t really know if it’s redundant or not because I am learning linux from not too long…

ii php-cgi 2:7.3+69 all server-side, HTML-embedded scripting language (CGI binary) (default)
ii php-cli 2:7.3+69 all command-line interpreter for the PHP scripting language (default)
ii php-common 2:69 all Common files for PHP packages
ii php-curl 2:7.3+69 all CURL module for PHP [default]
ii php-fpm 2:7.3+69 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
ii php-gd 2:7.3+69 all GD module for PHP [default]
ii php-mbstring 2:7.3+69 all MBSTRING module for PHP [default]
ii php-mysql 2:7.3+69 all MySQL module for PHP [default]
ii php-pear 1:1.10.6+submodules+notgz-1.1 all PEAR Base System
ii php-xml 2:7.3+69 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php-zip 2:7.3+69 all Zip module for PHP [default]
ii php7.3-cgi 7.3.19-1~deb10u1 amd64 server-side, HTML-embedded scripting language (CGI binary)
ii php7.3-cli 7.3.19-1~deb10u1 amd64 command-line interpreter for the PHP scripting language
ii php7.3-common 7.3.19-1~deb10u1 amd64 documentation, examples and common module for PHP
ii php7.3-curl 7.3.19-1~deb10u1 amd64 CURL module for PHP
ii php7.3-fpm 7.3.19-1~deb10u1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php7.3-gd 7.3.19-1~deb10u1 amd64 GD module for PHP
ii php7.3-json 7.3.19-1~deb10u1 amd64 JSON module for PHP
ii php7.3-mbstring 7.3.19-1~deb10u1 amd64 MBSTRING module for PHP
ii php7.3-mysql 7.3.19-1~deb10u1 amd64 MySQL module for PHP
ii php7.3-opcache 7.3.19-1~deb10u1 amd64 Zend OpCache module for PHP
ii php7.3-readline 7.3.19-1~deb10u1 amd64 readline module for PHP
ii php7.3-xml 7.3.19-1~deb10u1 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
ii php7.3-zip 7.3.19-1~deb10u1 amd64 Zip module for PHP
ii webmin-php-pear 1.5 all Webmin module for ‘PHP Pear Modules’

Thank you!

I think you have only installed one php-version and that is fine. Also there is the zip module for php.

Perhaps you can use instead of the webinstaller this installation guide for Debian 10:

Perhaps you do not need all commands e.g. if you already have installed apache2 and/or mariadb.

Write something about your system and we can tell you if all steps nessesary.

1 Like

That’s great, I am going to have a look at it and let you know if I can get it.

Cheers