Fedora Core 4 Dependencies Issue

I am trying to install PHP again after removing it.  It seems that php-5 required php-pear, and then php-pear requires php-5.  I'm going around in circles here.  How do I install a package that requries another, which requires the package that I am initially trying to install?  

I get the following errors:  

[root@TankJr src]# rpm -Uvh php-5.0.5-2.1.i386.rpm
warning: php-5.0.5-2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
        php-pear is needed by php-5.0.5-2.1.i386

[root@TankJr src]# rpm -Uvh php-pear-5.0.4-10.5.i386.rpm
warning: php-pear-5.0.4-10.5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        php = 5.0.4-10.5 is needed by php-pear-5.0.4-10.5.i386
LVL 4
gcmachelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gcmachelAuthor Commented:
I just installed php-pear using --nodeps and then was able to install php-5, but then when I try to install php-pear again without the --nodeps, it still gives me the error as listed above.  
ravenplCommented:
Why will not You use yum to resolve and install dependencies as well?
yum install php # or yum update php

You encountered those problems, couse You are using different versions (for php ans php-pear) - they should be from same version - either 5.0.4-10 or 5.0.5-2
gcmachelAuthor Commented:
Thank you for the suggestion!  I tried this and there were no updates.  Here is the copied text:

[root@TankJr ~]# yum update php
Repository updates-released is listed more than once in the configuration
Repository base is listed more than once in the configuration
Setting up Update Process
Setting up repositories
base                      100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 386 kB    00:00
updates-re: ################################################## 1076/1076
Added 12 new packages, deleted 2 old in 7.35 seconds
Could not find update match for php
No Packages marked for Update/Obsoletion

[root@TankJr ~]# yum update apache
Repository updates-released is listed more than once in the configuration
Repository base is listed more than once in the configuration
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Could not find update match for apache
No Packages marked for Update/Obsoletion
rindiCommented:
First try

yum remove php

Then when it is removed from the system, try

yum install php

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.