[SOLVED] CentOS: php-devel-5.1.6-32.el5.x86_64 from base has depsolving problems
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
php 5.2 isn't available officially on centos yet, that appears to just be a bunch of test rpms you installed, so you either need to downgrade those packages to the official 5.1.6 versions available in yum, or manually install the devel package, which appears to be http://www.iredmail.org/yum/rpms/5/ <---- there. OR maybe look at using php53 which IS in centos 5.8
Yes, those are "test" versions; phpMyAdmin requires php 5.2 so I upgraded to 5.2 via the c5-testing repo described in lots of posts on upgrading php to 5.2 on CentOS.
But now I need php-devel and I'm stuck.
Even "yum --disablerepo=\* --enablerepo=c5-testing install php-devel" gives me the error.
I'll take a look at the two suggestions you guys posted; thanks bunches for taking time to reply to me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.