'--queryformat' option for yum 'groupinfo' and other yum commands ??

Robinson Tiemuqinke hahaha_30k at yahoo.com
Wed Apr 5 22:22:35 UTC 2006


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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the users mailing list