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
c5-testing php-devel
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
c5-testing php-devel
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
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
Re: c5-testing php-devel
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
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
Re: c5-testing php-devel
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
then add
priority=1
includepkgs=http*,mod*,php*
to your centos testing section and
priority=2
to all your other sections
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: c5-testing php-devel
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 ...".
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: c5-testing php-devel
[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
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
Re: c5-testing php-devel
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
ps do you have any more links to yum priority documentation