Solved

php-pecl-imagick and remi repository problems with Dependency

Posted on 2014-02-10
3
989 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

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…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

758 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

21 Experts available now in Live!

Get 1:1 Help Now