Bug 2193

Summary: rpm 2.94 refuses to upgrade old package
Product: [Retired] Red Hat Linux Reporter: Marc MERLIN <marc_soft>
Component: rpmAssignee: Jay Turner <jturner>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL:
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-04-15 13:47:43 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 Marc MERLIN 1999-04-15 08:34:20 UTC
It looks like the version number comparison algorithm is
broken "3.76.1" > "3.77" in ASCII

moremagic [mc]# rpm -q make
make-3.76.1-5
moremagic [mc]# rpm -U make-3.77-5.i386.rpm
error: package make-3.76.1-5 (which is newer then
make-3.77-5) is already installed
moremagic [mc]# rpm -q rpm
rpm-2.94-4

Comment 1 Bill Nottingham 1999-04-15 13:47:59 UTC
Nope, it's just that the old make package has a %serial
number, so it's ranked higher. serial # has been
added to make-3.77-6.