We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Fedora Core 4 Dependencies Issue

gcmachel
gcmachel asked
on
Medium Priority
435 Views
Last Modified: 2013-12-15
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
Comment
Watch Question

Author

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.  
Top Expert 2005

Commented:
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

Author

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
CERTIFIED EXPERT
Most Valuable Expert 2015
Commented:
First try

yum remove php

Then when it is removed from the system, try

yum install php

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.