Bug 230580 - odd output when querying based on arch
odd output when querying based on arch
Status: CLOSED DUPLICATE of bug 124016
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Paul Nasrat
Depends On:
  Show dependency treegraph
Reported: 2007-03-01 11:59 EST by Jeremy Katz
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-11 10:28:30 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 Jeremy Katz 2007-03-01 11:59:53 EST
Querying for a package by arch can lead to odd (lack of) output in some cases.

Easiest to show with an example:
[katzj@erebor creator]$ rpm -q bash
[katzj@erebor creator]$ rpm -q bash.x86_64
[katzj@erebor creator]$ rpm -q bash.i386
[katzj@erebor creator]$ rpm -q foo
package foo is not installed
[katzj@erebor creator]$ rpm -q foo.i386
package foo.i386 is not installed

I'd expect the query for bash.i386 to say that it's not installed.
Comment 1 Michal Jaegermann 2007-03-01 23:00:34 EST
That goes somewhat deeper.  Watch this:
$ rpm -q bash ; echo $?
$rpm -q bash.x86_64 ; echo $?
$ rpm -q foo ; echo $?
package foo is not installed
$ rpm -q foo.i386 ; echo $?
package foo.i386 is not installed
$ rpm -q bash.i386 ; echo $?

Clearly your rpm is configured in some non-default way if
it responds with 'bash-0:3.2-9.fc7.x86_64' but that is not the issue.
Comment 2 Jeff Johnson 2007-03-08 08:06:45 EST
This is a dupe of another bug report (by D. Hugh Radimier iirc).

Comment 3 Panu Matilainen 2007-06-11 10:28:30 EDT

*** This bug has been marked as a duplicate of 124016 ***

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