Bug 462631 - Missing error in "rpm -e foo.i386" when only foo.x86_64 is installed
Summary: Missing error in "rpm -e foo.i386" when only foo.x86_64 is installed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-17 17:18 UTC by Ville Skyttä
Modified: 2009-04-07 05:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-07 05:19:09 UTC
Type: ---


Attachments (Terms of Use)

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.


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