It seems there is something wrong with php-imagick package on Ubuntu Zesty. Installing it requires installing php7.0-common.
This worked fine on Yakkety.
eddie@abyss [~] $ php -v
PHP 7.1.4-1+deb.sury.org~zesty+1 (cli) (built: Apr 11 2017 22:16:52) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.4-1+deb.sury.org~zesty+1, Copyright (c) 1999-2017, by Zend Technologies
with blackfire v1.16.1~linux-x64-non_zts71, https://blackfire.io, by Blackfireio Inc.
eddie@abyss [~] $ sudo apt-get install php-imagick
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-phpdbg php7.0-readline ttf-dejavu-core
The following NEW packages will be installed:
php-imagick php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-phpdbg php7.0-readline ttf-dejavu-core
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 97,6 kB/3699 kB of archives.
After this operation, 14,7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
It seems there is something wrong with
php-imagick
package on Ubuntu Zesty. Installing it requires installingphp7.0-common
.This worked fine on Yakkety.