Jump to content

Unable to install perforce-swarm-option due to lack of php-pecl-imagick

swarm php install imagic

  • Please log in to reply
3 replies to this topic

#1 Andrew DeFaria

Andrew DeFaria

    Advanced Member

  • Members
  • PipPipPip
  • 125 posts

Posted 01 October 2014 - 11:32 PM

When attempting to install perforce-swarm-optional I get an error on a dependency:

# sudo yum install perforce-swarm-optional
Error: Package: perforce-swarm-optional-2014.3-897280.el6.x86_64 (Perforce)
Requires: php-pecl-imagick
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
# sudo yum install php-pecl-imagick

No package php-pecl-imagick available.
Error: Nothing to do

Trying --skip-broken just tells me about a bunch of other packages skipped because of dependency problems:


Packages skipped because of dependency problems:
1:autocorr-en- from base
dejavu-sans-mono-fonts-2.30-2.el6.noarch from base
dejavu-serif-fonts-2.30-2.el6.noarch from base
hyphen-2.4-5.1.el6.x86_64 from base
hyphen-en-2.4-5.1.el6.noarch from base
1:java-1.7.0-openjdk- from updates
liberation-mono-fonts- from base
liberation-serif-fonts- from base
1:libreoffice-calc- from base
1:libreoffice-core- from base
1:libreoffice-draw- from base
1:libreoffice-graphicfilter- from base
1:libreoffice-headless- from base
1:libreoffice-impress- from base
1:libreoffice-opensymbol-fonts- from base
1:libreoffice-pdfimport- from base
1:libreoffice-ure- from base
1:libreoffice-writer- from base
lpsolve- from base
perforce-swarm-optional-2014.3-897280.el6.x86_64 from Perforce

Trying to install all those dependencies first:

# yum install autocorr-en dejavu-sans-mono-fonts dejavu-serif-fonts hyphen hyphen-en java liberation-mono-fonts liberation-serif-fonts libreoffice-calc libreoffice-core libreoffice-draw libreoffice-graphicfilter libreoffice-headless libreoffice-impress libreoffice-opensymbol-fonts libreoffice-pdfimport libreoffice-ure libreoffice-writer lpsolve

However now it just says:

# yum install --skip-broken perforce-swarm-optional Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.san.fastserv.com
* extras: centos-distro.cavecreek.net
* updates: mirror.keystealth.org
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perforce-swarm-optional.x86_64 0:2014.3-897280.el6 will be installed
--> Processing Dependency: php-pecl-imagick for package: perforce-swarm-optional-2014.3-897280.el6.x86_64

Packages skipped because of dependency problems:
perforce-swarm-optional-2014.3-897280.el6.x86_64 from Perforce

So how does one go installing perforce-swarm-optional:

# uname -a
Linux cm-app-lprod02.audience.local 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/*release
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)

#2 P4MarcW


    Advanced Member

  • Guests
  • PipPipPip
  • 30 posts
  • LocationVictoria, BC

Posted 01 October 2014 - 11:50 PM

Hi Andrew,

If you get the info on the perforce-swarm-optional package, you'll see it mentions the need for the EPEL repository:
This package depends on the package "php-pecl-imagick" which is available from
the EPEL project. In order to install packages from EPEL, you will need to add
the EPEL repository and accept its signing key. Instructions are available at

Go ahead and try following those directions. In the meantime, I've added a request to better document this dependency in our installation docs.


#3 briand


    Advanced Member

  • Members
  • PipPipPip
  • 77 posts

Posted 01 October 2014 - 11:51 PM

Looking at my CentOS box, php-pecl-imagick can be found in the epel repository (not the base CentOS repository).

#4 Andrew DeFaria

Andrew DeFaria

    Advanced Member

  • Members
  • PipPipPip
  • 125 posts

Posted 02 October 2014 - 02:07 AM

That worked. Thanks.

Also tagged with one or more of these keywords: swarm, php, install, imagic

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users