Bug 812115

Summary: php-pear-XML-Parser install failure with php53 packages due to Requires: on php version
Product: [Fedora] Fedora EPEL Reporter: Jason Corley <jason.corley>
Component: php-pear-XML-ParserAssignee: Remi Collet <fedora>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el5CC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-14 05:29:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Corley 2012-04-12 19:06:57 UTC
Description of problem:
the php53 package from RHEL 5.8 does not provide php so the following line:
  Requires: php >= 4.2.0
means php-pear-XML-Parser cannot be installed with the php53 packages installed.

Version-Release number of selected component (if applicable):
1.2.8-1.el5

How reproducible:
100%

Steps to Reproduce:
1. install php53 packages
2. try to install php-pear-XML-Parser
3. see failure

Actual results:
$ rpm -qa php53\* --pipe="LANG=C sort"
php53-5.3.3-5.el5
php53-cli-5.3.3-5.el5
php53-common-5.3.3-5.el5
php53-devel-5.3.3-5.el5
php53-mcrypt-5.3.3-1.el5
php53-mysql-5.3.3-5.el5
php53-pdo-5.3.3-5.el5
php53-xml-5.3.3-5.el5
$ sudo yum install php-pear-XML-Parser
Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirrors.gigenet.com
 * epel: ftp.osuosl.org
 * extras: mirrors.gigenet.com
 * updates: mirror.us.leaseweb.net
base                                                     | 1.1 kB     00:00
epel                                                     | 3.4 kB     00:00
extras                                                   | 2.1 kB     00:00      
updates                                                  | 1.9 kB     00:00
245 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pear-XML-Parser.noarch 0:1.2.8-1.el5 set to be updated
--> Processing Dependency: php >= 4.2.0 for package: php-pear-XML-Parser
--> Running transaction check
---> Package php.x86_64 0:5.1.6-32.el5 set to be updated
--> Processing Dependency: php-common = 5.1.6-32.el5 for package: php
--> Processing Dependency: php-cli = 5.1.6-32.el5 for package: php
--> Running transaction check
---> Package php-cli.x86_64 0:5.1.6-32.el5 set to be updated
---> Package php-common.x86_64 0:5.1.6-32.el5 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-5.el5.x86_64 from installed has depsolving problems
  --> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
 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

Expected results:
package should install

Comment 1 Remi Collet 2012-04-14 05:29:28 UTC
This package is designed to work with stock php 5.1.6, not with php53

So you need php53-pear-* pakages (which doesn't exist)

I don't plan any fix for this.