RE: listing packages under group

"Hearn, Stan J." <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <E5823DBEF494C645B7D3665C5D21C17505376D2D47@GATUCEXCH07ASV.nscorp.ad.nscorp.com>
>> This doesn't list the packages in the kickstart group?
>> 
>> -

> the kickstart groups come from comps file - the groups/groups_gz
> metadata types in the repodata.
>
> that's what repoquery -g -l looks at.


With RHEL 5 I get an error using this command.

# lsb_release -a
LSB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Release:        5.6
Codename:       Tikanga
# rhn-channel --list
rhel-i386-server-5-u6-2011_04_03
rhel-i386-server-5-u6-2011_04_03-rhn_tools
rhel-i386-server-5-u6-2011_04_03-supplementary
# repoquery -g -l core
Traceback (most recent call last):
  File "/usr/bin/repoquery", line 850, in ?
    main(sys.argv)
  File "/usr/bin/repoquery", line 841, in main
    repoq.doGroupSetup()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 590, in doGroupSetup
    return self._getGroups()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 652, in _getGroups
    raise Errors.GroupsError, _('No Groups Available in any repository')
yum.Errors.GroupsError: No Groups Available in any repository

Thanks,
Stan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.