I’m on debian buster running NCP, I ran
PHP 7.3.11-1~deb10u1 (cli) (built: Oct 26 2019 14:14:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.11-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
I tried installing php7.3.11-1-imagick and php7.3.11-imagick, and neither were recognized as existing. So then I installed:
sudo apt-get install php7.3-imagick
and got this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php-imagick' instead of 'php7.3-imagick'
The following package was automatically installed and is no longer required:
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
The following NEW packages will be installed:
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 134 kB of archives.
After this operation, 547 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org/debian buster/main amd64 php-imagick amd64 3.4.3-4.1 [102 kB]
Get:2 http://ftp.us.debian.org/debian buster/main amd64 ttf-dejavu-core all 2.37-1 [32.1 kB]
Fetched 134 kB in 0s (291 kB/s)
Selecting previously unselected package php-imagick.
(Reading database ... 192910 files and directories currently installed.)
Preparing to unpack .../php-imagick_3.4.3-4.1_amd64.deb ...
Unpacking php-imagick (3.4.3-4.1) ...
dpkg: warning: unable to delete old directory '/etc/php/7.1/mods-available': Directory not empty
dpkg: warning: unable to delete old directory '/etc/php/7.1': Directory not empty
dpkg: warning: unable to delete old directory '/etc/php/7.0/mods-available': Directory not empty
dpkg: warning: unable to delete old directory '/etc/php/7.0': Directory not empty
dpkg: warning: unable to delete old directory '/etc/php/5.6/mods-available': Directory not empty
dpkg: warning: unable to delete old directory '/etc/php/5.6': Directory not empty
Selecting previously unselected package ttf-dejavu-core.
Preparing to unpack .../ttf-dejavu-core_2.37-1_all.deb ...
Unpacking ttf-dejavu-core (2.37-1) ...
Setting up php-imagick (3.4.3-4.1) ...
Removing obsolete conffile /etc/php/7.1/mods-available/imagick.ini ...
Removing obsolete conffile /etc/php/7.2/mods-available/imagick.ini ...
Removing obsolete conffile /etc/php/5.6/mods-available/imagick.ini ...
Removing obsolete conffile /etc/php/7.0/mods-available/imagick.ini ...
Setting up ttf-dejavu-core (2.37-1) ...
Processing triggers for fontconfig (2.13.1-2) ...
Did I install the wrong version? What is the deal with the old directory not being able to be deleted? It says it’s not empty but idk whether it’s contents is safe to delete?