Re: listing packages under group

seth vidal <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <20120109164023.28f0ac23@opus>
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.


-sv
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.