[Yum] '--queryformat' option for yum 'groupinfo' and other yum commands ??

Panu Matilainen pmatilai at laiskiainen.org
Wed Apr 5 22:35:22 UTC 2006


On Wed, 2006-04-05 at 15:22 -0700, Robinson Tiemuqinke wrote:
> Hi,
> 
>  Newbie questions: Any one know if there is an yum
> option similar to '--queryformat' for rpm? I ask this
> because on x86_64 platform it is too difficult to
> figure out whether a rpm reported by yum is x86_64 or
> i[3456]86.
> 
>  Thanks.
> 
> 
> 
> testnode01.example.com root 11% yum groupinfo
> 'Editors'
> Setting up Group Process
> Setting up repositories
> 
> Group: Editors
>  Required Groups:
>    Base
>  Optional Metapkgs:
>    Emacs
>  Default Packages:
>    vim-enhanced
>  Optional Packages
>    joe
>    vim-X11

Yum does list the architecture everywhere where relevant. Group lists
and group "dependencies" are the only place where arch doesn't even
exist, eg joe and vim-X11 are optional packages for that group no matter
what the architecture. Similaryly "foo-devel" requires "foo", the arch
is irrelevant.

The other part of the answer: yes, repoquery (from yum-utils) supports
--queryformat somewhat similarly to rpm queries.

	- Panu -






More information about the Yum mailing list