Bug 462631 - Missing error in "rpm -e foo.i386" when only foo.x86_64 is installed
Missing error in "rpm -e foo.i386" when only foo.x86_64 is installed
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-09-17 13:18 EDT by Ville Skyttä
Modified: 2009-04-07 01:19 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-04-07 01:19:09 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 Ville Skyttä 2008-09-17 13:18:14 EDT

    # rpm -q foo
    package foo is not installed
    # rpm -e foo.i386
    error: package foo.i386 is not installed
    # echo $?

The above is fine, but:

    # rpm -q firefox
    # rpm -e firefox.i386
    # echo $?

I would have expected a "error: package firefox.i386 is not installed" error message and exit status 1.  rpm -q works as expected though:

    # rpm -q firefox.i386
    package firefox.i386 is not installed
Comment 1 Panu Matilainen 2008-09-18 03:31:37 EDT
This is essentially the same issue as bug 124016 but different place, fixed upstream now.
Comment 2 Ville Skyttä 2009-04-06 15:50:14 EDT
Works for me in F-10's rpm-4.6.0-1.fc10.x86_64, can be closed as far as I'm concerned.

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