Phil Schaffner wrote:
On Fri, 2005-08-12 at 02:29 -0500, Bryan J. Smith wrote:
Does anyone know how to easily list the arch of packages on a system? I can't seem to figure out something from "rpm" at the CLI.
I have the following in ~/.rpmmacros:
# Change default RPM query format to show ARCH %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
While OT - A sometimes-useful variant: $ rpm -qa --queryformat='%{epoch}:%{name}-%{version}-%{release}.%{arch}\n' aspell 12:aspell-0.50.5-3.fc3.x86_64 12:aspell-0.50.5-3.fc3.i386
If you are looking to track Origin of a package, the %{vendor} and/or %{packager} tag might come in handy.
- KB