i have a wordpress site that uses Duplicator plugin. In order for this plugin to work it needs php7.0-zip
[root@server1:~# apt-get -y install php7.0-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php7.0-zip : Depends: php7.0-common (= 7.0.33-0+deb9u3) but 7.0.33-5+0~20190309015553.9+stretch~1.gbp4c6517 is to be installed
E: Unable to correct problems, you have held broken packages.
Since
php7.0-common (= 7.0.33-0+deb9u3)
is a dependency, as shown by your console, I suggest you install it first before installingphp7.0-zip
. You can find the Debian package here.Also, the best approach to get these packages installed is to use package managers such as
aptitude
orsynaptic
. You can install any of them and use as follows:-- aptitude:
-- synaptic:
Synaptic has a GUI you can use and in case you can't launch it after installing, see this.
I hope this answer helps you out!
Please try again with the tool "aptitude". It may suggest to also update packages that you did not explicitly list to update, which would be in conflict with the versions you requested. You can then ask for different solutions to be offered wrt what other package should also get to later versions:
On my system I have php7.3 and php7.0 available. Maybe you already mixed this up? You may alternatively want to try installing the package php-zip, so you get whatever is current for the distribution you are working with.