Bug 183202 - show architecture details in defaul rpm query atleast for x86_64 systems in FC6 rawhide
Summary: show architecture details in defaul rpm query atleast for x86_64 systems in F...
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-27 13:22 UTC by Rahul Sundaram
Modified: 2013-03-13 05:42 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-03-01 13:48:13 UTC


Attachments (Terms of Use)

Description Rahul Sundaram 2006-02-27 13:22:45 UTC
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
system

Actual results:

rpm -qa does not show architecture details


Expected results:

should show architecture details by default.


Additional info:

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.

Comment 1 Jeff Johnson 2006-03-01 13:48:13 UTC
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:
    %_query_all_fmt         %%{name}-%%{version}-%%{release}.%%{arch}


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