| lrtward |
03-13-2012 09:20 AM |
CentOS: php-devel-5.1.6-32.el5.x86_64 from base has depsolving problems
I need to install php-devel and php-pear on my server. When I run "yum install php-devel" I get the following:
Quote:
# yum install php-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.trouble-free.net
* epel: mirror.vcu.edu
* extras: mirror.7x24web.net
* updates: mirror.lug.udel.edu
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:5.1.6-32.el5 set to be updated
--> Processing Dependency: php = 5.1.6-32.el5 for package: php-devel
--> Processing Dependency: automake for package: php-devel
--> Running transaction check
---> Package automake.noarch 0:1.9.6-2.3.el5 set to be updated
---> Package php-devel.x86_64 0:5.1.6-32.el5 set to be updated
--> Processing Dependency: php = 5.1.6-32.el5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-32.el5.x86_64 from base has depsolving problems
--> Missing Dependency: php = 5.1.6-32.el5 is needed by package php-devel-5.1.6-32.el5.x86_64 (base)
Error: Missing Dependency: php = 5.1.6-32.el5 is needed by package php-devel-5.1.6-32.el5.x86_64 (base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
|
So I followed the suggestions:
Quote:
# package-cleanup --problems
Setting up yum
Reading local RPM database
Processing all local requires
No problems found
# package-cleanup --dupes
Setting up yum
# rpm -Va --nofiles --nodigest
#
|
I still get the same results when trying to yum install php-devel.
I'm pretty sure my problem is that I'm running a newer version of php than the 5.1.6 that yum install is expecting:
Quote:
# rpm -qa --qf "%{name}-%{version}-%{release}.%{arch}\n" php\*
php-pdo-5.2.10-1.el5.centos.x86_64
php-mbstring-5.2.10-1.el5.centos.x86_64
php-mysql-5.2.10-1.el5.centos.x86_64
php-common-5.2.10-1.el5.centos.x86_64
php-ldap-5.2.10-1.el5.centos.x86_64
php-mcrypt-5.2.9-2.el5.centos.3.x86_64
php-5.2.10-1.el5.centos.x86_64
php-gd-5.2.10-1.el5.centos.x86_64
php-cli-5.2.10-1.el5.centos.x86_64
php-xml-5.2.10-1.el5.centos.x86_64
|
But I can't for the life of me figure out how to install php-devel 5.2.10-1 and just skip 5.1.6
|