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

Re: querying for i386 versus x86_64 versions




On Mar 14, 2006, at 6:16 PM, Dan Hollis wrote:

On Tue, 14 Mar 2006, Luciano Miguel Ferreira Rocha wrote:
I guessed at the fact that one is an x86_64 version and the other is
an i386 version, but I haven't been able to find a programmatic way
of disambiguating this scenario. There don't seem to be flags to --query
to provide this information, and it is not returned by --info.
rpm -q --qf '%{name}.%{arch}\n' samba-common

Would be nice to have a standard extended format for -q, eg

   rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'

Much nicer for biarch systems.


Yep.

Maybe available with someting like -qx ? x being xtended format. so you can easily type

   rpm -qax

instead of

   rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'


This is the *default* setting for the query format string for quite some months now:

#
# Default headerSprintf() output format string for rpm -qa
#
# XXX   Note: escaped %% for use in headerSprintf()
%_query_all_fmt         %%{name}-%%{version}-%%{release}.%%{arch}

73 de Jeff


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