Bug 455760

Summary: pkg updates do not notify rhn/sat of removal of old versions
Product: Red Hat Enterprise Linux 5 Reporter: Martin Poole <mpoole>
Component: yum-rhn-pluginAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Jan Hutař <jhutar>
Severity: high Docs Contact:
Priority: high    
Version: 5.2CC: cperry, jhutar, pkilambi
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: 2009-01-20 16:54:55 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 455759    
Bug Blocks:    

Description Martin Poole 2008-07-17 12:36:49 EDT
Description of problem:

package changes via yum-rhn-plugin are notified back to rhn/sat with a
delta_packages call listing added/removed packages.  If a package is updated the
new package and revision is added to the package profile on rhn/sat but the old
version is not removed from the profile.

Version-Release number of selected component (if applicable):

yum-rhn-plugin-0.5.3-6.el5_2.6

How reproducible:

Always.

Steps to Reproduce:
1. Install system not fully updated.
2. rhn-profile-sync
3. yum update
  
Actual results:

updated packages will appear twice on rhn/sat

Expected results:

current packages only should be listed on rhn/sat

Additional info:

This is something about adding the outgoing packages to the "removed" list in
make_package_delta in /usr/lib/yum-plugins/rhnplugin.py

**IMPORTANT **
No package removals will be visible until rhn/sat has been updated to fix BZ#455759
Comment 1 RHEL Product and Program Management 2008-07-17 15:41:59 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.
Comment 2 Jan Hutař 2008-07-22 03:01:57 EDT
I think that remove action is not handled as well - see Bug 445508
Comment 4 Pradeep Kilambi 2008-08-22 15:43:49 EDT
*** Bug 445508 has been marked as a duplicate of this bug. ***
Comment 9 errata-xmlrpc 2009-01-20 16:54:55 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0195.html