Re: listing packages under group

seth vidal <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <20120109170225.785b91dc@opus>
On Mon, 9 Jan 2012 16:01:17 -0600
inode0 <[email protected]> wrote:

> On Mon, Jan 9, 2012 at 3:40 PM, seth vidal
> <[email protected]> wrote:
> > On Mon, 9 Jan 2012 13:43:00 -0500
> > "Hearn, Stan J." <[email protected]> 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

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
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.