Bug 857243

Summary: redhat-lsb has bogus dependencies
Product: Red Hat Enterprise Linux 6 Reporter: matthew patton <pattonme>
Component: redhat-lsbAssignee: Ondrej Vasik <ovasik>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 16:27:47 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 matthew patton 2012-09-13 22:10:35 UTC
Description of problem:

redhat-lsb has 'gettext' as a dependency but I can't find any reason for it. This 'gettext' dependency further sucks in 'cvs'.

worse, redhat-lsb has a dependency on 'redhat-lsb-graphics' which sucks in a HUGE list of X11 and graphics related items. This totally pollutes a non-gui server whose only sin was to want to run tomcat6 (see 844307) or some other non-core software that wanted to use the LSB init-script stubs. In my case 'tomcat6' was a prerequisite for Spacewalk.

This bogus dependency tree is the reason for 835919 as well.

Version-Release number of selected component (if applicable):

4.0-3.el6

How reproducible:

every time

Steps to Reproduce:
1. yum install redhat-lsb
  
Actual results:

nearly 100 unnecessary packages installed chained via redhat-lsb-graphics

Expected results:

exactly 1 installed

Additional info:

Comment 2 Ondrej Vasik 2012-12-04 16:27:47 UTC
Thanks for report and suggestion.
gettext utility is required in LSB core - see http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/gettext.html . I'm afraid it has to be there...
Dependency on cvs in gettext was dropped in Fedora while ago, maybe you could file a request to drop this dependency in RHEL-6 as well. Not much I can change in redhat-lsb package. Sorry...

About the redhat-lsb-graphics, there is a request for the package split, which should allow the redhat-lsb-core to be standalone package (for just the LSB core compliance, not the full (printing, graphics) compliance). This was already reported by other bugzilla #835919 - which you already mentioned... therefore closing this one as duplicate of it.

*** This bug has been marked as a duplicate of bug 835919 ***

Comment 3 Ondrej Vasik 2012-12-04 16:29:39 UTC
Btw. your expected results: Exactly 1 package installed are definitely not reachable - reason for the redhat-lsb-* packages is to pull in all dependencies required on the LSB compliant system - so you can install minimal RHEL and redhat-lsb and you should have LSB compliant system (with redhat-lsb-core , LSB compliant for core tests).