I'm trying to install php-devel on my CentOS 6.3 VPS and get a failed dependencies test.
From phpinfos():
SYSTEM Linux 2.6.32-279.5.2.el6.x86_64 #1 x86_64 NTS
error: Failed dependencies:
php(x86-64) = 5.4.6-1.el6.remi is needed by
php-devel-5.4.6-1.el6.remi.x86_64
I've tried the following RPM packages:
php54w-devel-5.4.6-1.w6.x86_64.rpm
php-devel-5.4.6-1.el6.remi.i686.rpm
php-devel-5.4.6-1.el6.remi.x86_64.rpm
One of the above package gave me this:
root@sv1 [/tmp]# rpm -Uvh php-devel-5.4.6-1.el6.remi.i686.rpm
warning: php-devel-5.4.6-1.el6.remi.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
error: Failed dependencies:
php(x86-32) = 5.4.6-1.el6.remi is needed by php-devel-5.4.6-1.el6.remi.i686
libbz2.so.1 is needed by php-devel-5.4.6-1.el6.remi.i686
libcom_err.so.2 is needed by php-devel-5.4.6-1.el6.remi.i686
libcrypto.so.10 is needed by php-devel-5.4.6-1.el6.remi.i686
libedit.so.0 is needed by php-devel-5.4.6-1.el6.remi.i686
libgmp.so.3 is needed by php-devel-5.4.6-1.el6.remi.i686
libgssapi_krb5.so.2 is needed by php-devel-5.4.6-1.el6.remi.i686
libk5crypto.so.3 is needed by php-devel-5.4.6-1.el6.remi.i686
libkrb5.so.3 is needed by php-devel-5.4.6-1.el6.remi.i686
libncurses.so.5 is needed by php-devel-5.4.6-1.el6.remi.i686
libssl.so.10 is needed by php-devel-5.4.6-1.el6.remi.i686
libstdc++.so.6 is needed by php-devel-5.4.6-1.el6.remi.i686
libxml2.so.2 is needed by php-devel-5.4.6-1.el6.remi.i686
libxml2.so.2(LIBXML2_2.4.30) is needed by php-devel-5.4.6-1.el6.remi.i686
libxml2.so.2(LIBXML2_2.5.2) is needed by php-devel-5.4.6-1.el6.remi.i686
libxml2.so.2(LIBXML2_2.6.0) is needed by php-devel-5.4.6-1.el6.remi.i686
libxml2.so.2(LIBXML2_2.6.11) is needed by php-devel-5.4.6-1.el6.remi.i686
libxml2.so.2(LIBXML2_2.6.5) is needed by php-devel-5.4.6-1.el6.remi.i686
libz.so.1 is needed by php-devel-5.4.6-1.el6.remi.i686
I don't know how to fix this error and download all the dependencies.
Thank you.
Edit 1 (for quanta):
Here is "yum repolist":
root@sv1 [/tmp]# yum repolist
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: mirror.cogentco.com
* extras: mirror.atlanticmetro.net
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mirror.choopa.net
repo id repo name status
base CentOS-6 - Base 5,980+366
epel Extra Packages for Enterprise Linux 6 - x86_64 6,493+1,272
extras CentOS-6 - Extras 4
rpmforge RHEL 6 - RPMforge.net - dag 2,123+2,310
updates CentOS-6 - Updates 499+29
repolist: 15,099
root@sv1 [/tmp]#
rpm -qa | grep php didn't return any result.
I forgot to mention I'm using cPanel/WHM
Edit 2 after adding the Remi repo:
>root@sv1 [/etc/yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, presto
Cleaning repos: base epel extras remi remi-test rpmforge updates
Cleaning up Everything
Cleaning up list of fastest mirrors
1 delta-package files removed, by presto
>root@sv1 [/etc/yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, presto
Determining fastest mirrors
epel/metalink | 12 kB 00:00
* base: centos.mirror.nac.net
* epel: mirror.symnds.com
* extras: centos.mirror.choopa.net
* remi: remi-mirror.dedipower.com
* remi-test: remi-mirror.dedipower.com
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mirror.nac.net
base | 3.7 kB 00:00
base/primary_db | 4.5 MB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 4.7 MB 00:00
extras | 3.0 kB 00:00
extras/primary_db | 6.3 kB 00:00
remi | 2.9 kB 00:00
remi/primary_db | 330 kB 00:00
remi-test | 2.9 kB 00:00
remi-test/primary_db | 85 kB 00:00
rpmforge | 1.9 kB 00:00
rpmforge/primary_db | 2.5 MB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 2.3 MB 00:00
repo id repo name status
base CentOS-6 - Base 5,980+366
epel Extra Packages for Enterprise Linux 6 - x86_64 6,493+1,272
extras CentOS-6 - Extras 4
remi Les RPM de remi pour Enterprise Linux 6 - x86_64 96+564
remi-test Les RPM de remi en test pour Enterprise Linux 6 - x86_64 25+139
rpmforge RHEL 6 - RPMforge.net - dag 2,123+2,310
updates CentOS-6 - Updates 499+29
repolist: 15,220
>root@sv1 [/etc/yum.repos.d]# yum install php-devel
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: centos.mirror.nac.net
* epel: mirror.symnds.com
* extras: centos.mirror.choopa.net
* remi: remi-mirror.dedipower.com
* remi-test: remi-mirror.dedipower.com
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mirror.nac.net
Setting up Install Process
No package php-devel available.
Error: Nothing to do
>root@sv1 [/etc/yum.repos.d]#