• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Plesk update fails due to ImageMagick dependencies

MarcoJ

New Pleskian
Hi,

I'm running Plesk 12 on my server on CentOS 6 with the base PHP version 5.3. I have enabled additional support for PHP 5.4 and 5.5 in Plesk as I've sites which requires these versions. All is running well, but after adding PHP 5.4 and 5.5 the Plesk update fails due to dependency reasons from my ImageMagick extension.

I'm not able to find a solution, so I hope getting help for that issue here. The update log is below.


Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
[4] => --include-components-from-class
[5] => vendor=parallels
[6] => --include-components-from-class
[7] => patched
)

Details: Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 11%..20%..31%..43%..50%..60%..72%..83%..92%..100% was finished.
File downloading ppsmbe.inf3: 100% was finished.
File downloading sitebuilder.inf3: 100% was finished.
File downloading sso.inf3: 100% was finished.
File downloading setemplates.inf3: 100% was finished.
File downloading pp-sitebuilder.inf3: 14%..32%..53%..65%..84%..100% was finished.
File downloading billing.inf3: 13%..28%..32%..48%..57%..60%..75%..90%..100% was finished.
File downloading mysql.inf3: 100% was finished.
File downloading apache.inf3: 100% was finished.
File downloading nginx.inf3: 62%..100% was finished.
File downloading php56.inf3: 100% was finished.
File downloading php55.inf3: 100% was finished.
File downloading php54.inf3: 100% was finished.
File downloading php53.inf3: 100% was finished.
File downloading php52.inf3: 100% was finished.
Checking for installed packages...
File downloading PSA_12.0.18/plesk-12.0.18-cos6-x86_64.inf3: 20%..43%..71%..89%..100% was finished.
File downloading PSA_12.0.18/plesk-patches-12.0.18-cos6-x86_64.inf3: 18%..21%..31%..48%..58%..63%..73%..83%..93%..100% was finished.
File downloading SITEBUILDER_12.0.7/sitebuilder-12.0.7-rhall-all.inf3: 100% was finished.
File downloading BILLING_12.0.18/billing-12.0.18-rhall-all.inf3: 100% was finished.
File downloading NGINX_1.6.0/nginx-1.6.0-cos6-x86_64.inf3: 100% was finished.
File downloading PHP_5.6.11/php56-5.6.11-cos6-x86_64.plesk12.inf3: 100% was finished.
File downloading PHP_5.5.27/php55-5.5.27-cos6-x86_64.plesk12.inf3: 100% was finished.
File downloading PHP_5.4.43/php54-5.4.43-cos6-x86_64.plesk12.inf3: 100% was finished.
File downloading PHP_5.3.29/php53-5.3.29-cos6-x86_64.plesk12.inf3: 100% was finished.
File downloading PHP_5.2.17/php52-5.2.17-cos6-x86_64.plesk12.inf3: 100% was finished.
Loaded plugins: fastestmirror, priorities


Detecting installed product components.
Gathering information about installed license key...
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.informatik.hs-fulda.de
* epel: mirrors.n-ix.net
* extras: mirror.softaculous.com
* updates: mirror.softaculous.com

PHP_5_2_17-dist | 2.9 kB 00:00

PHP_5_2_17-thirdparty | 2.9 kB 00:00

PHP_5_3_29-dist | 2.9 kB 00:00

PHP_5_3_29-thirdparty | 2.9 kB 00:00

PHP_5_4_43-dist | 2.9 kB 00:00

PHP_5_4_43-thirdparty | 2.9 kB 00:00

PHP_5_5_27-dist | 2.9 kB 00:00

PHP_5_5_27-thirdparty | 2.9 kB 00:00

PHP_5_6_11-dist | 2.9 kB 00:00

PHP_5_6_11-thirdparty | 2.9 kB 00:00

PPB_12_0_18-dist | 951 B 00:00

PPB_12_0_18-thirdparty | 951 B 00:00

PSA_12_0_18-dist | 2.9 kB 00:00

PSA_12_0_18-thirdparty | 2.9 kB 00:00

SITEBUILDER_12_0_7-dist | 951 B 00:00

SITEBUILDER_12_0_7-thirdparty | 951 B 00:00
Exception: Failed to solve dependencies:
plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 requires libMagickCore.so.2()(64bit)
plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 requires libMagickWand.so.2()(64bit)
plesk-php54-imagick-3.1.2-centos6.15061118.x86_64 requires libMagickCore.so.2()(64bit)
plesk-php54-imagick-3.1.2-centos6.15061118.x86_64 requires libMagickWand.so.2()(64bit)

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
 
Hi MarcoJ,

please try to use additional repo like for example "--enablerepo=remi" with yum, to solve the issue with a missing module.
 
Looks like you have updated ImageMagick
Remove ImageMagick and install the older ImageMagick-6.5.4.7-7 package
Worked for me.
 
I have Centos 6.7 and Plesk 12.0.18 Update #59, last updated at Aug 7, 2015 07:15 PM. My Centos base repo offers
ImageMagick.i686 6.7.2.7-2.el6 base. This results in:

plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 requires libMagickCore.so.2()(64bit)
plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 requires libMagickWand.so.2()(64bit)

I have libMagickCore.so.5, and libMagickWand.so.5.

I don't have an older ImageMagick that I know of.

I can't use the PHP 5.3.3 that is currently installed. I'd be happy without ImageMagick support at all. I just need something newer than 5.3.3.

Any way to do this?
 
Brand new installation on CentOS 6.7 (64-bit) when selecting to install support for PHP 5.4, 5.5, 5.6 (anything outside of stock PHP included with PHP) results in this error as well, when trying to install Plesk 12.0.18:

Exception: Failed to solve dependencies:
plesk-php54-imagick-3.1.2-centos6.15061118.x86_64 requires libMagickWand.so.2()(64bit)
plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 requires libMagickCore.so.2()(64bit)
plesk-php56-imagick-3.1.2-centos6.15061116.x86_64 requires libMagickCore.so.2()(64bit)
plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 requires libMagickWand.so.2()(64bit)
plesk-php54-imagick-3.1.2-centos6.15061118.x86_64 requires libMagickCore.so.2()(64bit)
plesk-php56-imagick-3.1.2-centos6.15061116.x86_64 requires libMagickWand.so.2()(64bit)

Effectively you cannot install Plesk 12.0.18 on *clean new* CentOS 6.7. It used to work on CentOS 6.6, but I've tried a clean new CentOS 6.6 server just now, and same errors come up.

You can install Plesk 12.0.18 on CentOS 6.6/6.7 **without** support for PHP 5.4, 5.5, 5.6, but trying to install support for those versions once Plesk is installed - also fail with an error message from yum.

Basically, Plesk 12 cannot be properly installed on clean new CentOS 6.6 or 6.7 servers at the moment, due to the dependencies.

Installing ImageMagic beforehand does not resolve these dependencies either.
 
The above doesn't help. ImageMagic gets installed ONLY if I manually install it outside of Plesk Installer, and php-pecl-imagick was not installed by ImageMagic, or by Plesk Installer script. When I manually try to install it, I get error messages that
libMagickWand.so.2()(64bit) and libMagickCore.so.2()(64bit) are required and not available - so back to square one.

With WordPress absolutely requiring PHP v5.4 and higher anymore, we can't install Plesk on new servers. You can install Plesk 12.0.18 but only with PHP v5.3.3 - which is not high enough version for WordPress. Can someone at Odin please look into this and fix the Plesk Installer so it properly installs support for newer PHP versions? We are stuck not being able to roll out any new servers until then.
 
Hi dotCOM host,

please define, WHICH version of ImageMagic you are going to install ( complete version description please ) and from wihich repo.

libMagickCore.so.2 included:
Code:
# rpm -qpl ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm|grep libMagickCore.so.2
/usr/lib64/libMagickCore.so.2
/usr/lib64/libMagickCore.so.2.0.0

NO (!) libMagickCore.so.2 included:
Code:
# rpm -qpl ImageMagick-6.7.2.7-2.el6.x86_64.rpm |grep libMagickCore.so.2
 
Base repo wants to install 6.7.2.7-2.el6.

I've searched for 6.5.4.7-7.el6_5 but can't find it - which repo did you install this version from? Both CentOS 6.6 and 6.7 want to download 6.7.2.7-2.el6 by default, and this seems to be something new as of the past ~48-96 hours. I've installed several new servers last weekend with CentOS 6.6 and Plesk 12.0.18 without problems, this is a new issue that suddenly affects new Plesk 12 installations. Not sure what's changed, other than CentOS 6.7 was released - but this affects installs on 6.6 as well now.
 
Hi dotCOM host,

Please see: ftp://rpmfind.net/linux/RPM/centos/6.6/x86_64/Packages/index.html

Direct Download - link: ftp://fr2.rpmfind.net/linux/centos/6.6/os/x86_64/Packages/ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm


Sorry that I don't like to discuss "why" things change or happen and maybe causing issues/problems - I'm more the "solution guy", who's trying to solve issues/problems. ^^
 
:) No problem, I understand.

Let me try it now with ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm installed manually before plesk-installer and see what happens.
 
OK, brand new CentOS 6.6 server (minimal install)... Trying to install ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm before Plesk 12:


# rpm -Uvh ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm
error: Failed dependencies:
libHalf.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libICE.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libIex.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libIlmImf.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libIlmThread.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libImath.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libSM.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libX11.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libXext.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libXt.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libcairo.so.2()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libfontconfig.so.1()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libfreetype.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libgdk_pixbuf-2.0.so.0()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libgs.so.8()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libjasper.so.1()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libjpeg.so.62()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libjpeg.so.62(LIBJPEG_6.2)(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
liblcms.so.1()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libltdl.so.7()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libpng12.so.0()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libpng12.so.0(PNG12_0)(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
librsvg-2.so.2()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libtiff.so.3()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libwmflite-0.2.so.7()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64

Fine. I thought I'd install Plesk 12 then, with just stock PHP 5.3.3 "support from vendor" and install ImageMagick and PHP 5.4/5.5/5.6 later.

Plesk 12.0.18 installed fine, tried installed ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm, and still getting:

# rpm -Uvh ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm
error: Failed dependencies:
libHalf.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libICE.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libIex.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libIlmImf.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libIlmThread.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libImath.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libSM.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libXext.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libXt.so.6()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libgdk_pixbuf-2.0.so.0()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libgs.so.8()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libjasper.so.1()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
liblcms.so.1()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
librsvg-2.so.2()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libtiff.so.3()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64
libwmflite-0.2.so.7()(64bit) is needed by ImageMagick-6.5.4.7-7.el6_5.x86_64

It's possible I can hunt down all these prerequisites manually, but the idea is to have automated Plesk 12 installs on new servers.

Do you have any other recommendations on how to fix the above so that ImageMagick can be installed (either before or after installing Plesk), so that PHP 5.4/5.5/5.6 can be enabled?
 
Hi dotCOM host ( and now Chris1 as well ^^ ),

sure... just add the mirror "http://mirror.centos.org/centos/6.6/os/x86_64/" and use yum packet manager to install ImageMagic, which should resolve your missing dependencies. As you can see at "http://mirror.centos.org/centos/6.6/os/x86_64/Packages/", it contains the rpm "http://mirror.centos.org/centos/6.6/os/x86_64/Packages/ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm", which contains the needed "libMagickCore.so.2" file.

2013-12-03-210207_721x402_scrot.png


Or use this tutorial and read the comments if you experience issues :

http://www.webdesignblog.asia/opera.../updateinstall-imagemagick-centos-5-centos-6/ ( external link, please inform me, if the link goes dead! )
 
Thank you - that worked as a temporary fix, however... trying to upgrade the server from CentOS 6.6 to 6.7, now results in this:

Error: Package: plesk-php56-imagick-3.1.2-centos6.15061116.x86_64 (@PHP_5_6_11-dist)
Requires: libMagickCore.so.2()(64bit)
Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (installed)
libMagickCore.so.2()(64bit)
Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
Not found
Error: Package: plesk-php54-imagick-3.1.2-centos6.15061118.x86_64 (@PHP_5_4_43-dist)
Requires: libMagickCore.so.2()(64bit)
Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (installed)
libMagickCore.so.2()(64bit)
Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
Not found
Error: Package: plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 (@PHP_5_5_27-dist)
Requires: libMagickCore.so.2()(64bit)
Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (installed)
libMagickCore.so.2()(64bit)
Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
Not found
Error: Package: plesk-php55-imagick-3.1.2-centos6.15061117.x86_64 (@PHP_5_5_27-dist)
Requires: libMagickWand.so.2()(64bit)
Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (installed)
libMagickWand.so.2()(64bit)
Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
Not found
Error: Package: plesk-php56-imagick-3.1.2-centos6.15061116.x86_64 (@PHP_5_6_11-dist)
Requires: libMagickWand.so.2()(64bit)
Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (installed)
libMagickWand.so.2()(64bit)
Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
Not found
Error: Package: plesk-php54-imagick-3.1.2-centos6.15061118.x86_64 (@PHP_5_4_43-dist)
Requires: libMagickWand.so.2()(64bit)
Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (installed)
libMagickWand.so.2()(64bit)
Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
Not found

... and the 'yum update' process aborts at this point.

I have not tried updating to CentOS 6.7 first, then installing the older ImageMagick version - this was tested on a brand new CentOS 6.6 server, then Plesk 12.0.18 install, then ImageMagick-6.5.4.7-7.el6_5, then trying to update to CentOS 6.7.
 
Same issue like dotCOM. I already had php 54,55 and 56 installed and running for some time, but now I get the above error when trying to update the OS from 6.6 to 6.7 via yum.
 
I'm also experiencing this on three Plesk servers. I'll be watching this thread for a definite resolution. Please let us know once we can just run a yum update all again without any workarounds or additional repo's.

Hope Odin will be able to provide a fix soon.

Thanks in advance!
 
Hello,

We are working on this package dependencies issue. The root cause is that Centos 6.7 that was released on August 7 is not yet supported by Plesk 12.
Thanks for your report!
 
Back
Top