Bug 221148

Summary: Feature request: RPM output information architechture clarification
Product: [Fedora] Fedora Reporter: Karl Lattimer <karl>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-09 20:44:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karl Lattimer 2007-01-02 14:10:10 UTC
Description of problem:
I am frequently finding problems with RPMs on my system, after hearing about the
new project to bring RPM into the 22nd century I cheered with joy. Most of my
problems come down to having multiple packages installed for different
architechtures this issue became evident today in fact while trying to install
the i386 version of firefox. Using x86_64 means that flash is broken with the
native architechture version so i386 is needed if you want to watch youtube. 

After trying to do an rpm -Uvh --replacepkgs firefox.....i386.rpm and trying to
use flash I was surprised it was still not working. Checking RPM i found 

[root@ws58 klattimer]# rpm -q firefox
firefox-1.5.0.9-1.fc6
firefox-1.5.0.9-1.fc6

This raises an eyebrow. Both the same package so complaints like;
"firefox-1.5.0.9-1.fc6 specifies more than one package" isn't a great help.

So what I am asking for is to PLEASE have the architechture of the RPM in the
name of the package, and to have this architechture also displayed when doing an
rpm -qi of the package in question.

Its not a big ask and would help lots of x86_64 users out there.

A related request would be to have an rpm -e option to allow you to remove all
installed versions of a package.

Comment 1 Jeff Johnson 2007-01-02 16:28:25 UTC
Put this line in /etcrpm/macros:

    %_query_all_fmt         %%{name}-%%{version}-%%{release}.%%{arch}

WORKSFORME

Comment 2 Jeff Johnson 2007-01-02 16:28:46 UTC
That should have been /etc/rpm/macros.

Comment 3 Panu Matilainen 2007-06-28 13:17:58 UTC
Moving to devel to avoid "timeouting", the default should really be changed
someday, painful or not.

Comment 4 Panu Matilainen 2007-08-09 20:44:59 UTC
Fixed upstream, it'll find it's way to Fedora eventually...