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-4.0.4.2-9.el6.noarch 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-1.7.0.65-2.5.1.2.el6_5.x86_64 from updates
liberation-mono-fonts-1.05.1.20090721-5.el6.noarch from base
liberation-serif-fonts-1.05.1.20090721-5.el6.noarch from base
1:libreoffice-calc-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-core-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-draw-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-graphicfilter-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-headless-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-impress-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-opensymbol-fonts-4.0.4.2-9.el6.noarch from base
1:libreoffice-pdfimport-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-ure-4.0.4.2-9.el6.x86_64 from base
1:libreoffice-writer-4.0.4.2-9.el6.x86_64 from base
lpsolve-5.5.0.15-2.el6.x86_64 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)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
#


#2 P4MarcW

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
https://fedoraproject.org/wiki/EPEL

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

Thanks,
-Marc

#3 briand

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).
--
Brian

#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