YUM: how to find out groups?

Jeff Spaleta jspaleta at gmail.com
Wed May 11 12:17:37 UTC 2005


On 5/11/05, shrek-m at gmx.de <shrek-m at gmx.de> wrote:
http://download.fedora.redhat.com/pub/fedora/linux/core/test/3.92/ppc/os/Fedora/RPMS/eruby-1.0.5-5.ppc.rpm
> | grep Group
> Group       : Development/Languages         Source RPM:
> eruby-1.0.5-5.src.rpm

The group tag in the rpm header is not equilvalent to the comps.xml
file groupings that anaconda and yum use.  You can't rely on the
header Group tag to match the groupings in comps.xml at all.  To know
which comps groups a package is in, you pretty much have to grep
through the comps.xml file by hand.

Atleast until someone clever and with some time to kill starts working
with the upstream yum-devel list to implement a groupmember function
equivalent.  Or if not acceptable as a contributed patch to of yum,
then certaintly as a stand-alone cache delving utility like these:
http://linux.duke.edu/projects/yum/download/misc/

-jef




More information about the fedora-test-list mailing list