Transaction Check Error ( Install ImageMagick)

Operating System & Version
Centos 7.8
cPanel & WHM Version
v88.0.10

steveduffis

Registered
Jun 17, 2020
3
1
1
United States
cPanel Access Level
Root Administrator
Hello,

I'm running Centos 7.8 kvm on a Vultr server.

I am trying to install ImageMagick on my server but when I run "yum install php-pear php-devel gcc " .. I get the following error on all the way on the bottom. I am not sure how to proceed here.

--> Processing Dependency: php-bz2 for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Processing Dependency: php-composer(fedora/autoloader) for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Processing Dependency: php-ftp for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Processing Dependency: php-pcre for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Processing Dependency: php-posix for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Processing Dependency: php-tokenizer for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Processing Dependency: php-xml for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Processing Dependency: php-zlib for package: 1:php-pear-1.10.12-1.el7.remi.noarch
--> Running transaction check
---> Package php-cli.x86_64 0:7.4.7-1.el7.remi will be installed
---> Package php-common.x86_64 0:7.4.7-1.el7.remi will be installed
--> Processing Dependency: php-json(x86-64) = 7.4.7-1.el7.remi for package: php-common-7.4.7-1.el7.remi.x86_64
---> Package php-fedora-autoloader.noarch 0:1.0.1-2.el7 will be installed
---> Package php-process.x86_64 0:7.4.7-1.el7.remi will be installed
---> Package php-xml.x86_64 0:7.4.7-1.el7.remi will be installed
--> Running transaction check
---> Package php-json.x86_64 0:7.4.7-1.el7.remi will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================
Installing:
php-devel x86_64 7.4.7-1.el7.remi remi-php74 1.2 M
php-pear noarch 1:1.10.12-1.el7.remi remi-php74 362 k
Installing for dependencies:
php-cli x86_64 7.4.7-1.el7.remi remi-php74 5.1 M
php-common x86_64 7.4.7-1.el7.remi remi-php74 1.2 M
php-fedora-autoloader noarch 1.0.1-2.el7 epel 11 k
php-json x86_64 7.4.7-1.el7.remi remi-php74 69 k
php-process x86_64 7.4.7-1.el7.remi remi-php74 88 k
php-xml x86_64 7.4.7-1.el7.remi remi-php74 205 k

Transaction Summary
====================================================================================================================================================================
Install 2 Packages (+6 Dependent packages)

Total size: 8.2 M
Installed size: 45 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
file /usr/bin/php from install of php-cli-7.4.7-1.el7.remi.x86_64 conflicts with file from package ea-php-cli-1.0.0-9.9.3.cpanel.x86_64

Error Summary
-------------
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,257
313
Houston
This is because the ea-php-cli package from our repo conflicts with the ea-php-cli package from the remi repository (a 3rd party repo) - ultimately this is a result of several dependencies of a package you are trying to install from a 3rd party repository. You need to install the packages from the cPanel official repos not 3rd party repos which are unsupported.
 
  • Like
Reactions: steveduffis

steveduffis

Registered
Jun 17, 2020
3
1
1
United States
cPanel Access Level
Root Administrator
This is because the ea-php-cli package from our repo conflicts with the ea-php-cli package from the remi repository (a 3rd party repo) - ultimately this is a result of several dependencies of a package you are trying to install from a 3rd party repository. You need to install the packages from the cPanel official repos not 3rd party repos which are unsupported.
I would then assume I should install the php devel and other package through EasyApache on my WHM then.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,257
313
Houston
You can install through CLI using yum you just need to ensure that you're not using packages from the remi repo - and that you're not obtaining packages from that repo. The process is the same in terms of where it obtains data for available packages.
 
  • Like
Reactions: steveduffis