Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 108480

Summary: up2date shows installed kernel errata as still applicable
Product: Red Hat Enterprise Linux 3 Reporter: Matt Jamison <jamisonm>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED ERRATA QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: alex, ali, austin, bnocera, greyhair, kambiz, mikem, nhruby, notting, tao, terryj
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: 2004-01-19 17:46:42 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 Josef Komenda 2003-10-29 22:50:31 UTC
Description of problem: up2date shows installed kernel errata as still applicable. 

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

How reproducible: Install RHBA-2003:308 on a RHEL3 box with up2date -u, run
up2date -p, then run up2date

Actual results: up2date -l (and gui) shows:


Name                                    Version        Rel
----------------------------------------------------------
kernel                                  2.4.21         4.0.1.EL            i686

Expected results: No errata apply


Additional info: rpm -q kernel
kernel-2.4.21-4.EL
kernel-2.4.21-4.0.1.EL

Comment 1 Josef Komenda 2003-10-29 22:51:30 UTC
Note: RHN website shows the errata as installed. 

Comment 2 Jay Turner 2003-10-30 13:51:35 UTC
I wondered about this when I saw it.  I couldn't remembered if we ever
fixed this issue, which is related to the older kernel being installed
still, so up2date thinks we still need the new one.

Comment 3 Jp Robinson 2003-10-31 17:07:18 UTC
Same type of thing occuring, however the kernel on mine also shows obsolete.
This is impacting a customer as well, and he would like to know an estimated
time for this to be fixed.

Comment 7 nathan r. hruby 2003-12-02 20:22:08 UTC
I'll add a "METOO" to this bug.  This little buglet breaks "up2date
-u" which, er... is "unpleasant" for us customers ;-)  

FWIW, bug 109012 is a dupe of this as well.

Comment 8 Adrian Likins 2003-12-18 18:47:30 UTC
*** Bug 109012 has been marked as a duplicate of this bug. ***

Comment 9 greyhair 2003-12-31 10:46:53 UTC
Just enquiring, is there an ETA for the fix? Was this fixed by the
by version 4.0.1-1? Status of this bug is currently NEW.

Comment 11 Bill Nottingham 2004-01-07 18:55:39 UTC
*** Bug 110961 has been marked as a duplicate of this bug. ***

Comment 12 Alex Schuilenburg 2004-01-07 19:06:53 UTC
As 110961 has been marked closed and marked as a duplicate of this, I
think it relevant to add my "me too" since my problem has a slightly
different flavour that maybe requires a seperate bug or sheds a
different light on the problem. 

If up2date has a valid update to an RPM that was previously
installed/tracked via up2date, but the RPM available via RHN has been
superceded by an even newer version that I installed manually on my
servers from a different source, I get a similar error:

Testing package set / solving RPM inter-dependencies...
########################################
RPM package conflict error.  The message was:
Test install failed because of package conflicts:
package spamassassin-2.60-1 (which is newer than spamassassin-2.44-
11.8.x) is already installed

Comment 13 Glen A. Foster 2004-01-15 01:59:38 UTC
This problem still occurs with kernel-2.4.21-4.0.2.EL update from RHN.
 All you have to do is install RHEL3, register with RHN, and run up2date.

Comment 14 Peter Collinson 2004-01-16 15:19:22 UTC
I am still having this problem. I wonder if it's a bug because
the release ends in EL? Is there some check that expects release
numbers to be numeric?

% rpm -q kernel
kernel-2.4.21-4.EL
kernel-2.4.21-4.0.1.EL
kernel-2.4.21-4.0.2.EL

% up2date -u -f
 
Fetching package list for channel: rhel-i386-es-3...
########################################
 
Fetching Obsoletes list for channel: rhel-i386-es-3...
 
Name                                    Version        Rel
----------------------------------------------------------
kernel                                  2.4.21         4.0.2.EL      
     i686                                                            
                    
 
 
Testing package set / solving RPM inter-dependencies...
########################################
RPM package conflict error.  The message was:
Test install failed because of package conflicts:
package kernel-2.4.21-4.0.2.EL is already installed


Comment 15 Peter Collinson 2004-01-17 11:11:05 UTC
This is fixed by up2date-4.2.5-1 - or the new kernel numbering schmeme

Comment 16 nathan r. hruby 2004-01-17 13:56:42 UTC
Yup..
Tried the following yesterday after Update 1 came out...
   up2date -u up2date
   up2date -u 

yields in the new 2.4.21-9 kernel being installed and updted sans barfing.

Comment 17 Mike McLean 2004-01-19 17:46:42 UTC
Fixed by errata RHBA-2003:377

Comment 18 Alex Schuilenburg 2004-01-20 02:12:33 UTC
Sorry, this may fix the problem wrt the kernel packages but it does
not fix the problem wrt other packages (spamassassin).  See my comment
in bug 110961 (marked as a duplicate of this).  That is, I get an
error running up2date -f because I have a newer version of a package
installed than is available on RHN.  

IMHO, because the package I have installed is newer than that on RHN,
up2date should just ignore the RHN package or possibly a output a
warning for the paranoid - not abort in failure.

Both the kernel and spamassassin are marked to be skipped unless
forced (so plain up2date works) and "update -f kernel" will update the
kernel.  But plain "up2date -f" will not update the kernel because of
the conflict with spamassassin.  

IMHO this is a bug because if the packages marked to be skipped is
large (because I am paranoid and don't trust RHN not to break my
system so have elected for critical package updates to be forced
manually), updating becomes a painful exercise since I need an "force
all but <package>" option for up2date to get around this buglet. 
Hence why up2date should simply skip such conflicts.