Bug 19667 - rpm -qi does not show installed package architecture (e.g., i686)
rpm -qi does not show installed package architecture (e.g., i686)
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2000-10-24 00:38 EDT by Need Real Name
Modified: 2007-04-18 12:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-24 07:24:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-10-24 00:38:15 EDT
"rpm -qi package" gives no indication of the architecture
for which the installed package was built.  To see this, try:

rpm -qi glibc

and examine the output.  Nowhere will you be able to see
whether the installed package was *.i386.rpm or *.i686.rpm,
for example.

Granted, you can find this information via:

rpm -q --queryformat='%{ARCH}+AFw-n' glibc

but it ought to be shown by default in the general info listing.
Comment 1 Jeff Johnson 2000-12-30 14:44:46 EST
Query the arch tag, or, if you wish, edit /usr/lib/rpm/rpmpopt-* to add a query
for the arch tag
to the popt alias that actually implements --info.
I'm unwilling to make the change in the "default" configuration because
  a) rpm -qi already exists with well defined output
  b) most users don't need to see the arch tag because ...
  c) ... most packages do not benefit in any material (i.e. no significant
performance gain) way from         changing arch  because ...
  d) ... what is really desired is to know the optflags used to compile the
package. Try looking for

Note You need to log in before you can comment on or make changes to this bug.