Red Hat Bugzilla – Bug 183202
show architecture details in defaul rpm query atleast for x86_64 systems in FC6 rawhide
Last modified: 2013-03-13 01:42:18 EDT
Description of problem:
Architecture is not detailed in the default rpm query (rpm -qa ) and confuses
users into believing that there are multiple duplicate packages installed on the
rpm -qa does not show architecture details
should show architecture details by default.
The current argument is that changing the query results would break scripts that
incorrectly use screen scrapping instead of the API and library. Testing this in
FC6 development cycle would help find and fix such bugs. If all hell breaks
loose we can disable it again during FC5 GA release.
Fixed in rpm-4.4.5 (at least).
Changing the default --query --all output may break legacy user scripts.
Add to /etc/rpm/macros or ~/.rpmmacros: