Bug 1160660

Summary: [rpm][el5] Unsatisfied dependencies for tomcat6-maven-devel
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Michal Haško <mhasko>
Component: tomcat6, tomcat7Assignee: David Knox <dknox>
Status: CLOSED ERRATA QA Contact: Michal Haško <mhasko>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: jclere, jdoyle, pslavice, rsvoboda
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: 2014-11-11 13:25:32 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 Michal Haško 2014-11-05 10:42:03 UTC
Description of problem:
It's not possible to install tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch.rpm because it has unsatisfied dependencies:

error: Failed dependencies:
	tomcat6-annotations-api = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-api = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-catalina = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-catalina-ant = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-coyote = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-i18n-es = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-i18n-fr = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-i18n-ja = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-jasper = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-jasper-el = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-jdbc = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-juli = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch
	tomcat6-util = 0:6.0.41-8_patch_02.ep6.el5 is needed by tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5.noarch

I believe this is caused by missing "Provides:" statements for tomcat6-lib in tomcat6.spec

From tomcat6.spec from el6 tomcat6-6.0.41-6_patch_02.ep6.el6.src.rpm:

    %package lib
    Provides: %{name}-annotations-api = %{epoch}:%{version}-%{release}
    Provides: %{name}-api = %{epoch}:%{version}-%{release}
    Provides: %{name}-catalina-ant = %{epoch}:%{version}-%{release}
    Provides: %{name}-catalina = %{epoch}:%{version}-%{release}
    Provides: %{name}-coyote = %{epoch}:%{version}-%{release}
    Provides: %{name}-i18n-es = %{epoch}:%{version}-%{release}
    Provides: %{name}-i18n-fr = %{epoch}:%{version}-%{release}
    Provides: %{name}-i18n-ja = %{epoch}:%{version}-%{release}
    Provides: %{name}-jasper-el = %{epoch}:%{version}-%{release}
    Provides: %{name}-jasper = %{epoch}:%{version}-%{release}
    Provides: %{name}-jdbc = %{epoch}:%{version}-%{release}
    Provides: %{name}-juli = %{epoch}:%{version}-%{release}
    Provides: %{name}-util = %{epoch}:%{version}-%{release}

There is no such code in tomcat6.spec on el5 tomcat6-6.0.41-8_patch_02.ep6.el5.src.rpm

Version-Release number of selected component (if applicable):
tomcat6-maven-devel-6.0.41-8_patch_02.ep6.el5

Comment 3 errata-xmlrpc 2014-11-11 13:25:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-1842.html