CentOS 7.x with multiple PHP versions (7.0, 7.1, 7.2)
Since last CentOS 7 major upgrade (if I well remember), started this problem in all my installations:
# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.crazyfrogs.org
* centos-sclo-rh: centos.crazyfrogs.org
* centos-sclo-sclo: centos.crazyfrogs.org
* epel: mirror.nl.leaseweb.net
* extras: mirrors.atosworldline.com
* updates: centos.crazyfrogs.org
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.7.8.9-18.el7 will be updated
--> Processing Dependency: libMagickCore.so.5()(64bit) for package: sclo-php71-php-pecl-imagick-3.4.4-1.el7.x86_64
--> Processing Dependency: libMagickCore.so.5()(64bit) for package: sclo-php70-php-pecl-imagick-3.4.4-1.el7.x86_64
--> Processing Dependency: libMagickWand.so.5()(64bit) for package: sclo-php71-php-pecl-imagick-3.4.4-1.el7.x86_64
--> Processing Dependency: libMagickWand.so.5()(64bit) for package: sclo-php70-php-pecl-imagick-3.4.4-1.el7.x86_64
---> Package ImageMagick.x86_64 0:6.9.10.68-3.el7 will be an update
---> Package ImageMagick-devel.x86_64 0:6.7.8.9-18.el7 will be updated
---> Package ImageMagick-devel.x86_64 0:6.9.10.68-3.el7 will be an update
---> Package php-pecl-imagick.x86_64 0:3.1.0-0.6.RC2.el7 will be updated
---> Package php-pecl-imagick.x86_64 0:3.4.4-1.el7 will be an update
---> Package sclo-php72-php-pecl-imagick.x86_64 0:3.4.4-1.el7 will be updated
---> Package sclo-php72-php-pecl-imagick.x86_64 0:3.4.4-3.el7 will be an update
--> Finished Dependency Resolution
Error: Package: sclo-php70-php-pecl-imagick-3.4.4-1.el7.x86_64 (@centos-sclo-sclo)
Requires: libMagickWand.so.5()(64bit)
Removing: ImageMagick-6.7.8.9-18.el7.x86_64 (@base)
libMagickWand.so.5()(64bit)
Updated By: ImageMagick-6.9.10.68-3.el7.x86_64 (base)
Not found
Error: Package: sclo-php71-php-pecl-imagick-3.4.4-1.el7.x86_64 (@centos-sclo-sclo)
Requires: libMagickCore.so.5()(64bit)
Removing: ImageMagick-6.7.8.9-18.el7.x86_64 (@base)
libMagickCore.so.5()(64bit)
Updated By: ImageMagick-6.9.10.68-3.el7.x86_64 (base)
Not found
Error: Package: sclo-php70-php-pecl-imagick-3.4.4-1.el7.x86_64 (@centos-sclo-sclo)
Requires: libMagickCore.so.5()(64bit)
Removing: ImageMagick-6.7.8.9-18.el7.x86_64 (@base)
libMagickCore.so.5()(64bit)
Updated By: ImageMagick-6.9.10.68-3.el7.x86_64 (base)
Not found
Error: Package: sclo-php71-php-pecl-imagick-3.4.4-1.el7.x86_64 (@centos-sclo-sclo)
Requires: libMagickWand.so.5()(64bit)
Removing: ImageMagick-6.7.8.9-18.el7.x86_64 (@base)
libMagickWand.so.5()(64bit)
Updated By: ImageMagick-6.9.10.68-3.el7.x86_64 (base)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
The --skip-broken option allow the installation of the remaining updates, but it is really annoying to have these errors.and I can’t understand if this can be a real problem for some vhosts that use ImageMagick.
On some servers I am removing support for 7.0 and 7.1, but interested to know if there is a better soltution (some users told me that their code works fine with php 7.0/7.1 but not with php 7.2/7.3).
I read something about ufficial ceased support of 7.0/7.1 some weeks ago, but can’t find the links and if there is a workaround/solution.
Thanks, P.