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

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

 



On 4/5/06, Robinson Tiemuqinke <hahaha_30k@xxxxxxxxx> 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.

create a ~/.rpmmacros file with the contents:
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

This will show you the arch when you query rpm and yum.
For example:
[jperrin@insanity ~]$ rpm -q httpd
httpd-2.0.52-22.ent.centos4.i386



--
Any sufficiently advanced technology is indistinguishable from magic.
-Arthur C. Clarke

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux