Missing dependency when running YUM update

Bug #1005909 reported by Robin Hills
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IUS Community Project
Invalid
Undecided
Unassigned

Bug Description

RHEL 5.5 x64

When running sudo yum update on RHEL 5.5 I get the following dependency errors:

--> Processing Dependency: php53-common = 5.3.3-4.ius.el5 for package: php53-mcrypt
---> Package python-libs.x86_64 0:2.4.3-46.el5 set to be updated
--> Finished Dependency Resolution
php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-common = 5.3.3-4.ius.el5 is needed by package php53-mcrypt-5.3.3-4.ius.el5.x86_64 (installed)
--> Running transaction check
---> Package kernel.x86_64 0:2.6.18-164.el5 set to be erased
--> Processing Dependency: php53-common = 5.3.3-4.ius.el5 for package: php53-mcrypt
--> Finished Dependency Resolution
php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-common = 5.3.3-4.ius.el5 is needed by package php53-mcrypt-5.3.3-4.ius.el5.x86_64 (installed)
Error: Missing Dependency: php53-common = 5.3.3-4.ius.el5 is needed by package php53-mcrypt-5.3.3-4.ius.el5.x86_64 (installed)
 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
The program package-cleanup is found in the yum-utils package.

Thanks!

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Hello Robin,

It seems you may have a mixture of php53 packages (Redhat) and php53u packages (IUS),
these two package archs are not compatible with each other and should not be installed side by side.

Can you provide us with the results of the following command:

  rpm -qa | grep php

This will allow us to see which packages you have installed from IUS and RHEL.

Thanks

Revision history for this message
Robin Hills (robin-hills) wrote :

# rpm -qa | grep php

php53-cli-5.3.3-4.ius.el5
php53-pear-1.8.1-5.ius.el5
php53-mbstring-5.3.3-4.ius.el5
php53-common-5.3.3-4.ius.el5
php53-mysql-5.3.3-4.ius.el5
php53-gd-5.3.3-4.ius.el5
php53-pecl-imagick-3.0.0-1.ius.el5
php53-pdo-5.3.3-4.ius.el5
php53-pspell-5.3.3-4.ius.el5
php53-xml-5.3.3-4.ius.el5
php53-devel-5.3.3-4.ius.el5
php53-mcrypt-5.3.3-4.ius.el5
php53-pgsql-5.3.3-4.ius.el5
php53-5.3.3-4.ius.el5

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Hello Robin,

I see the issue here, you have the old IUS php53 packages.
unfortunately Redhat decided to use the php53 name and we were forced
to change from php53 to php53u.

What you are going to need to do is migrate from the old IUS php53 package to php53u,
the easiest way to migrate would be to use the yum replace module to replace php53 with php53u:

  yum install yum-plugin-replace
  yum replace php53 --replace-with php53u

You can review all the IUS EL5 packages in our repos at:

  http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/

Please let us know if you have any issues or questions.

p.s. we are also available in irc.freenode.net #iuscommunity

Jeffrey-

Changed in ius:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.