Bug 124016 - rpm silently ignores PackageName.NotInstalledArch
rpm silently ignores PackageName.NotInstalledArch
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
: Reopened
: 230580 234601 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-05-22 18:54 EDT by Nicholas Miell
Modified: 2007-11-30 17:10 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-26 03:51:52 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 Nicholas Miell 2004-05-22 18:54:50 EDT
rpm -q PackageName.NotInstalledArch should report "package PackageName
is not installed" instead of being silent.

I noticed this when I was trying to figure out why I couldn't remove
openssl.i386 on an AMD64 system (which had openssl.i686 and
openssl.x86_64 installed) -- all references to openssl.i386 were
silently ignored.
Comment 2 Jeff Johnson 2006-03-01 09:14:17 EST
Use the exact arch. Trying to compute all possible compatible arches is not worth the effort.
Consider for example hosting on a server, or using a qemu emulator: exactly what arches are
"compatible" and hos the heck is rpm supposed to discover "compatible"?!?
Comment 3 Nicholas Miell 2006-03-01 13:53:45 EST
I'm not complaining about RPM failing to infer that i686 is i386, I'm
complaining that RPM doesn't say *anything at all* when you mistakenly list an
architecture that isn't installed for a package that is.


[nicholas@entropy ~]$ rpm --nevra -qa openssl*
[nicholas@entropy ~]$ rpm -q openssl.i386
[nicholas@entropy ~]$

The bug is the complete lack of output between the last two shell prompts. I'd
expect "package openssl is not installed" at the very least or "package
openssl.i386 is not installed" if you feel like fixing it right.
Comment 4 Jeff Johnson 2007-01-03 22:28:52 EST
Fixed in rpm cvs, will be in rpm-4.4.8-0.9 when built.

Comment 5 Red Hat Bugzilla 2007-02-05 13:57:15 EST
REOPENED status has been deprecated. ASSIGNED with keyword of Reopened is preferred.
Comment 6 Panu Matilainen 2007-06-11 06:24:42 EDT
Fixed in rpm.org now, will be in
Comment 7 Panu Matilainen 2007-06-11 10:28:33 EDT
*** Bug 230580 has been marked as a duplicate of this bug. ***
Comment 8 Panu Matilainen 2007-06-11 10:32:53 EDT
*** Bug 234601 has been marked as a duplicate of this bug. ***
Comment 9 Jeff Johnson 2007-06-23 07:59:06 EDT
Comment 10 Panu Matilainen 2007-06-26 03:51:52 EDT
Fixed in next rawhide push by rpm 

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