Solved

php-pecl-imagick and remi repository problems with Dependency

Posted on 2014-02-10
3
1,008 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now