listing packages under group

seth vidal skvidal at fedoraproject.org
Mon Jan 9 22:02:25 UTC 2012


On Mon, 9 Jan 2012 16:01:17 -0600
inode0 <inode0 at gmail.com> wrote:

> On Mon, Jan 9, 2012 at 3:40 PM, seth vidal
> <skvidal at fedoraproject.org> wrote:
> > On Mon, 9 Jan 2012 13:43:00 -0500
> > "Hearn, Stan J." <stan.hearn at nscorp.com> wrote:
> >
> >> >> 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
> >>
> >
> > then none of the repositories you have access to from rhn appear to
> > be offering groups.
> 
> You might need to add --plugins to repoquery on RHEL5 iirc.
> 

That's a good point. Depending on the version of rhel5 that will matter.

-sv




More information about the Kickstart-list mailing list