Solved

php-pecl-imagick and remi repository problems with Dependency

Posted on 2014-02-10
3
1,016 Views
Last Modified: 2014-02-12
Dear All,
I’m running CentOS release 6.5 (Final), and I have installed the following components from Remi repository

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=remi install httpd
yum --enablerepo=remi install php
yum --enablerepo=remi install mysql mysql-server
yum --enablerepo=remi install php-mysql
yum --enablerepo=remi install php-gd
yum --enablerepo=remi install php-soap
yum --enablerepo=remi install  php-pecl-gmagick.x86_64
yum --enablerepo=remi install  php-mbstring
yum --enablerepo=remi install  php-mssql
yum --enablerepo=remi install php-pecl-apc
yum --enablerepo=remi install ghostscript
yum --enablerepo=remi install ImageMagick-last

Now when I need to install php-pecl-imagick from remi I have this problem with Dependencies.

yum --enablerepo=remi install php-pecl-imagick
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * remi: mirrors.mediatemple.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-imagick.x86_64 0:3.1.2-2.el6.remi.5.4 will be installed
--> Processing Conflict: php-pecl-gmagick-1.1.6-0.3.RC3.el6.remi.5.4.x86_64 conflicts php-pecl-imagick
--> Processing Conflict: php-pecl-imagick-3.1.2-2.el6.remi.5.4.x86_64 conflicts php-pecl-gmagick
--> Finished Dependency Resolution
Error: php-pecl-imagick conflicts with php-pecl-gmagick-1.1.6-0.3.RC3.el6.remi.5.4.x86_64
Error: php-pecl-gmagick conflicts with php-pecl-imagick-3.1.2-2.el6.remi.5.4.x86_64

 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Could you please help ? my intention is to keep remi as repository because it has the latest version of php and mysqld , needed by our web applications.
Thank you
0
Comment
Question by:carlettus
3 Comments
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 39849216
it's telling you that you can't have both of those packages installed at the same time
remove gmagick if you need imagick but won't be able to have both
if you can find the .rpm file you could try using rpm to force the install but no guarantee it will work if there is a conflict
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39849316
first remove complete php pkgs from system and then install with --enablerepo=remi

TY/SA
0
 

Author Comment

by:carlettus
ID: 39853089
The php module for imagick has been removed.
Then reinstalled from ftp://ftp.imagemagick.org/pub/ImageMagick/linux/CentOS/x86_64/ImageMagick-6.8.8-5.x86_64.rpm

All went fine, let's see the developers what they say.
Thank you
Carlettus
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 89
Xymon customize http timeout 2 85
route 2 traffic streams on single NIC 6 48
AWS Central Authentication 1 54
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question