Bug 526649

Summary: `yum check-update` ends with rc = 100
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: UpgradesAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 530CC: cperry
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: 2012-04-02 11:47:44 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:
Bug Depends On:    
Bug Blocks: 462714    

Description Jan Hutař 2009-10-01 09:50:21 UTC
Description of problem:
Upgrade documentation says to upgrade using command which do not work with current yum.


Version-Release number of selected component (if applicable):
rhn-upgrade-5.3.0.24-1.el5sat
rhn-upgrade-5.3.0.24-1.el4sat
yum-3.2.22-20.el5
yum-rhn-plugin-0.5.4-13.el5


How reproducible:
always


Steps to Reproduce:
1. ensure there are upgrades available
2. # yum check-update && yum upgrade


Actual results:
System is not upgraded because `&& ...` will not be performed.

> 6. Update the RHN Satellite (connected RHN Satellites only):
>    up2date -p && up2date -uf (on 4AS)
>    yum check-update && yum upgrade (on 5 Server or 5 Client)


Expected results:
Maybe something like:

> 6. Update the RHN Satellite (connected RHN Satellites only):
>    up2date -p && up2date -uf (on 4AS)
>    yum check-update; yum upgrade (on 5 Server or 5 Client)

or maybe:

>    rhn-profile-sync && yum upgrade (on 5 Server or 5 Client)


Additional info:
# yum check-update
Loaded plugins: rhnplugin, security
Skipping security plugin, no data
autofs.x86_64          1:5.0.1-0.rc2.131.el5_4.1 rhel-x86_64-server-5
openssh.x86_64         4.3p2-36.el5_4.2          rhel-x86_64-server-5
openssh-clients.x86_64 4.3p2-36.el5_4.2          rhel-x86_64-server-5
openssh-server.x86_64  4.3p2-36.el5_4.2          rhel-x86_64-server-5
tzdata.noarch          2009m-1.el5               rhel-x86_64-server-5
# echo $?
100

Comment 1 Milan Zázrivec 2012-04-02 11:47:44 UTC

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