Bug 800285

Summary: yum reinstall returns 0 if opperation did not succeed
Product: Red Hat Enterprise Linux 6 Reporter: Miroslav Vadkerti <mvadkert>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: pknirsch, zpavlas
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-13 13:58:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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 ***