Re: listing packages under group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 9, 2012 at 3:40 PM, seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
> On Mon, 9 Jan 2012 13:43:00 -0500
> "Hearn, Stan J." <stan.hearn@xxxxxxxxxx> 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.

John

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux