Bug 800285 - yum reinstall returns 0 if opperation did not succeed
Summary: yum reinstall returns 0 if opperation did not succeed
Keywords:
Status: CLOSED DUPLICATE of bug 674596
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-06 08:41 UTC by Miroslav Vadkerti
Modified: 2014-01-21 06:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-13 13:58:52 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Miroslav Vadkerti 2012-03-06 08:41:21 UTC
Description of problem:
# rpm -q openssl
openssl-1.0.0-20.el6_2.2.x86_64
# yum -y reinstall openssl
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Setting up Reinstall Process
Installed package openssl-1.0.0-20.el6_2.2.x86_64 not available.
Nothing to do
# echo $?
0

Version-Release number of selected component (if applicable):
yum-3.2.29-23.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. See description
 
Actual results:
yum returns zero value

Expected results:
yum returns non-zero value

Comment 1 Phil Knirsch 2012-03-13 13:58:52 UTC

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


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