Bug 234880 - yum-rhn-plugin does not send up removed package data during an update or an obsolete
yum-rhn-plugin does not send up removed package data during an update or an o...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum-rhn-plugin (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Shannon Hughes
Preethi Thomas
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-02 14:27 EDT by James Bowes
Modified: 2013-01-10 04:52 EST (History)
4 users (show)

See Also:
Fixed In Version: RHBA-2007-0594
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-11-07 12:24:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
rhn yum plugin patch for dependency package support (1.28 KB, text/x-patch)
2007-05-25 14:28 EDT, Shannon Hughes
no flags Details

  None (edit)
Description James Bowes 2007-04-02 14:27:19 EDT
If you are updating or obsoleting a package, it is not listed in yum's
transaction info as being removed, so it is not sent up to RHN as such. code
needs to be added to either check the ts info for packages that have a ts_state
of None, or to examine the transaction members for the updating and obsoleting
packates to see what they update and obsolete.
Comment 1 James Bowes 2007-04-02 14:29:14 EDT
Originally discovered in comment #20 of bug 208850
Comment 2 Shannon Hughes 2007-05-25 14:28:29 EDT
Created attachment 155472 [details]
rhn yum plugin patch for dependency package support

i did not get the exact behavior when testing individual packages but i did see
that dependencies were not being updated correctly which might have caused this
behavior. i went ahead and added a fix, including the patch. can we retest with
this code change?
Comment 4 Preethi Thomas 2007-07-12 15:06:22 EDT
Shanon,
could you put in a test plan for this one.

Thanks
Preethi
Comment 5 Shannon Hughes 2007-08-03 17:28:36 EDT
sure, 

basically you need to update a package using yum then check with the Web UI that
the package in the DB reflects what is on the local system. 

1) yum update foo
2) go to rhn web ui
3) look at package list for system foobar
4) confirm system foobar package foo is same version as a rpm -q foo 
Comment 6 Preethi Thomas 2007-08-07 16:45:23 EDT
verified
Comment 8 errata-xmlrpc 2007-11-07 12:24:41 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 the 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-2007-0594.html

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