Symptoms
- Unable to update Plesk. The following error is shown:
Exception: Failed to solve dependencies:
plesk-php70-imagick-3.4.3-centos7.20042209.x86_64 requires libMagickWand-6.Q16.so.6()(64bit)
plesk-php71-imagick-3.4.3-1centos.7.200422.0938.x86_64 requires libMagickCore-6.Q16.so.6()(64bit)
plesk-php72-imagick-3.4.3-1centos.7.200427.1953.x86_64 requires libMagickWand-6.Q16.so.6()(64bit)
plesk-php74-imagick-3.4.3-1centos.7.200422.0947.x86_64 requires libMagickWand-6.Q16.so.6()(64bit)
plesk-php70-imagick-3.4.3-centos7.20042209.x86_64 requires libMagickCore-6.Q16.so.6()(64bit)
plesk-php74-imagick-3.4.3-1centos.7.200422.0947.x86_64 requires libMagickCore-6.Q16.so.6()(64bit)
- ImageMagick package installed is ImageMagick-6.7 or older:
# rpm -qa | grep -i magick
ImageMagick-6.7.8.9-18.el7.x86_64
- ImageMagick does not update to a newer version:
# yum update ImageMagick
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No packages marked for update
- CentOS-Base repo contains the following baseurl:
# cat /etc/yum.repos.d/CentOS-Base.repo
[base]
…
baseurl=http://olcentgbl.trafficmanager.net/centos/$releasever/os/$basearch/
Cause
Incorrectly configured repository prevents ImageMagick from being updated to a newer version, which provides libMagickCore-6.Q16.so.6()(64bit)
.
Resolution
- Connect to the server via SSH;
-
Open this file with a text editor:
/etc/yum.repos.d/CentOS-Base.repo
: - Comment out
baseurl
or remove it, and add the followingmirrorlist
under[base]
:[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/rch/Â
- Update ImageMagick:
# yum update ImageMagick
- Update Plesk:
# plesk installer update