c5-testing php-devel

Issues related to software problems.
Post Reply
iteego
Posts: 5
Joined: 2009/09/23 19:44:26
Contact:

c5-testing php-devel

Post by iteego » 2009/09/24 17:53:41

Greetings,


I?m currently using the c5-testing repo on CentOS 5.x/Redhat 5.x. I need to install APC (Alternative PHP Cache) but I?m getting a missing dependency error Missing Dependency: php = 5.1.6-23.2.el5_3 is needed by package php-devel. I was hoping somebody would be able to walk me through the steps of updating php-devel via the c5-testing repo? Thanks so much!



Regards

Kevin

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

c5-testing php-devel

Post by pschaff » 2009/09/24 23:14:56

Chances are you have a problem with priorities, but you have not given enough information to get any real help.
http://www.catb.org/~esr/faqs/smart-questions.html
http://wiki.centos.org/PackageManagement/Yum/Priorities
http://wiki.centos.org/TipsAndTricks/YumAndRPM?highlight=%28priority%29%7C%28grep%29#head-2663cef0fc3da4067caf35d54abf2f57092585b9

iteego
Posts: 5
Joined: 2009/09/23 19:44:26
Contact:

Re: c5-testing php-devel

Post by iteego » 2009/09/25 05:07:38

Thanks,

Yes, I'm sure it is a priorities issue. I have read the links you provided and still don't understand how to change the priorities. My problem is that I'm new to this repo environment and still confused as to how to go about editing configuration files. On my computer and on a web server that is done via easy to locate and open php.ini or txt files. Having to work through shell, I have no idea how to find, open, and edit these files. My guess is somewhere in the c5-testing repo is a file that I can find php-devel on a line and change a number to give it top priority. Is there a tutorial anywhere on basic repository knowledge about how to work with them? Thanks. Kevin

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: c5-testing php-devel

Post by osde8info » 2009/09/25 10:21:36

make sure you have yum-priorities installed

then add

priority=1
includepkgs=http*,mod*,php*

to your centos testing section and

priority=2

to all your other sections

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: c5-testing php-devel

Post by pschaff » 2009/09/25 14:09:08

The core repos should generally be at priority=1, not 2. The c5-testing packages will be used when the priorities are equal due to being later versions. 3rd party repos should generally have lower priorities, and many people recommend leaving all additional repos disabled by default an using "yum --enablerepo reponame ...".

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: c5-testing php-devel

Post by pschaff » 2009/09/25 14:13:00

[quote]
iteego wrote:
... Is there a tutorial anywhere on basic repository knowledge about how to work with them?[/quote]

http://wiki.centos.org/HowTos/PackageManagement/YumOnRHEL

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: c5-testing php-devel

Post by osde8info » 2009/09/25 14:23:29

interesting i'll see if setting all my centos repos to priority=1 still allows me to update apache httpd to 2.2.8 and php to 5.2.6
ps do you have any more links to yum priority documentation

Post Reply

Return to “CentOS 5 - Software Support”