[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM Version Number Sort Logic



On Mon, Jul 01, 2002 at 11:21:48AM -0700, David Christensen wrote:
> Reading "Maximum RPM", as long as there is no dash in the version number,
> RPM should be able to handle version number correctly.  In a situation where
> an older version is numbered 1.6.031 and a newer verision is numbered
> 1.61.032, will RPM handle this correctly when asked to do an update?
> Numerically, 61 is greater than 6 so it should be newer, but using an ASCII
> sort, "1.6." is earlier than "1.61". 

$ rpmver 1.6.031 1.61.032
RPM version comparation tool - Version 1.2.2

1.61.032 is newer

[]s

-- 
 Rodrigo Barbosa                   - rodrigob at tisbrasil.com.br
 TIS 				   - Belo Horizonte, MG, Brazil
 "Quis custodiet ipsos custodes?"  - http://www.tisbrasil.com.br/
 Brainbench Certified -> Transcript ID #3332104





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []