Bug 497985

Summary: yum update shows obsoletes
Product: Red Hat Enterprise Linux 5 Reporter: Jacob <ronojacob>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5   
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-28 15:11:24 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:

Description Jacob 2009-04-28 09:10:18 UTC
Description of problem:
When yum update is executed it shows a rpm has been obsoleted whereas if I just select the same rpm and try an update it show a different update

Version-Release number of selected component (if applicable):
yum  - 3.0.1
RHES 5


Steps to Reproduce:

yum -C -c yum.conf  update
..
Dependencies Resolved
1240919455.62

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 sos                     noarch     1.7-9.2.el5      repo              108 k
     replacing  sysreport.noarch 1.4.3-10.el5

Updating:
 sabayon                 i386       2.12.4-5.el5     repo              128 k
 sabayon-apply           i386       2.12.4-5.el5     repo              368 k
 selinux-policy          noarch     2.4.6-106.el5_1.3  repo              367 k
 selinux-policy-targeted  noarch     2.4.6-106.el5_1.3  repo              854 k
 speex                   i386       1.0.5-4.el5_1.1  repo              206 k
 sysklogd                i386       1.4.1-40.el5     repo               73 k
 system-config-kdump     noarch     1.0.12-1.el5     repo              117 k
 system-config-network   noarch     1.3.99-2.el5     repo              402 k
 system-config-network-tui  noarch     1.3.99-2.el5     repo              1.8 M
 xorg-x11-apps           i386       7.1-4.0.1.el5    repo              254 k
 xorg-x11-drv-evdev      i386       1:1.0.0.5-3.el5  repo               10 k
 xorg-x11-drv-i810       i386       1.6.5-9.6.el5    repo              285 k
 xorg-x11-drv-keyboard   i386       1.1.0-3          repo               14 k
 xorg-x11-drv-mga        i386       1.4.2-6.el5      repo               82 k
 xorg-x11-drv-nv         i386       2.1.2-1.el5      repo              113 k
 xorg-x11-drv-vesa       i386       1.3.0-8.1.el5    repo               19 k
 xorg-x11-server-Xnest   i386       1.1.1-48.26.el5_1.5  repo              1.5 M
 xorg-x11-server-Xorg    i386       1.1.1-48.26.el5_1.5  repo              3.2 M
 xorg-x11-xfs            i386       1:1.0.2-4        repo               68 k
 xterm                   i386       215-5.el5        repo              405 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update      20 Package(s)
Remove       0 Package(s)


Notice that it mentions 'sos' obsoletes sysreport.

If I now just do a update for sysreport

yum -C -c yum.conf  update sysreport  

Dependencies Resolved
1240919549.88

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 sysreport               noarch     1.4.3-13.el5     repo               22 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)

Why does it not mention 'sos' here?


Additional info:

Comment 1 James Antill 2009-04-28 15:11:24 UTC
 3.0.1 is the GA version of yum, if you use 3.2.19-18 this problem is fixed.

Comment 2 Jacob 2009-04-28 17:53:25 UTC
I'm seeing this problem with yum 2.4 release also. I have various redhat 3 , 4  & 5 servers and since it's not possible to install yum 3.2 on redhat 3 is there any alternate fix/workaround that i could do for yum 2.4 ? 

Thanks!