'--queryformat' option for yum 'groupinfo' and other yum commands ??
Paul Howarth
paul at city-fan.org
Thu Apr 6 07:42:54 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
> testnode01.example.com root 12% rpm -q --queryformat
> '%{name}-%{version}-%{release}.%{arch}\n' vim-enhanced
> vim-X11
> vim-enhanced-6.3.086-0.fc4_alexaRecompile.x86_64
> vim-X11-6.3.086-0.fc4_alexaRecompile.x86_64
I theory, repoquery (part of yum-utils in Extras) can do this, but its
group support seems to be broken in FC5 (#186413 ).
Paul.
More information about the users
mailing list