On Tue, 11 Dec 2001, Dain Sundstrom wrote: > > 2.4.3 < 2.4.4 < 2.4.4beta > > Adam, I know you didn't write the debian package rules, but this is the most > retarded fucking thing I have ever seen.
Well, it does cause problems, I'll agree there. I'll explain how dpkg does version comparison below. For those who don't care, you can skip it, as it's just a FYI. -- For each version string, split into atoms, where each atom contains only digits, or non-digits. Numeric atoms are then compared numerically(54 < 123 numerically, but as a string is >). When comparing 2 unlike atoms between 2 versions, compare them as strings(54 < ab) If one version has more atoms than another, then that version compares higher(this is based on the assumption that more text for a version more accurately describes the version) -- So, let's run this algo on '2.4.4' and '2.4.4beta'. 2.4.4 (2), (.), (4), (.), (4) 2.4.4beta (2), (.), (4), (.), (4), (beta) Obvsiously, it's the last rule above that causes 2.4.4beta to compare higher than 2.4.4. _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development