Bug 462631

Summary: Missing error in "rpm -e foo.i386" when only foo.x86_64 is installed
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: ffesti, jnovy, pnasrat
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: 2009-04-07 05:19:09 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 Ville Skyttä 2008-09-17 17:18:14 UTC
rpm-4.4.2.3-2.fc9.x86_64:

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

The above is fine, but:

    # rpm -q firefox
    firefox-3.0.1-1.fc9.x86_64
    # rpm -e firefox.i386
    # echo $?
    0

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 07:31:37 UTC
This is essentially the same issue as bug 124016 but different place, fixed upstream now.

Comment 2 Ville Skyttä 2009-04-06 19:50:14 UTC
Works for me in F-10's rpm-4.6.0-1.fc10.x86_64, can be closed as far as I'm concerned.