LWN.net Logo

Advertisement

Interested in hardware, diags, validation, Linux, C, ARM, Microcode and low level programming and blazing networks?

Advertise here

Ubuntu 8.04

Ubuntu 8.04

Posted May 5, 2008 21:57 UTC (Mon) by JoeBuck (subscriber, #2330)
In reply to: Ubuntu 8.04 by seyman
Parent article: Linux Shootout: 7 Desktop Distros Compared (InformationWeek)

If you use an approach to version numbers that says that 8.4 > 8.10, you force both RPM-based and .deb-based distributions to use epochs to tell the package manager that 8.4 is newer. So you would be well advised not to do this: don't interpret version numbers as rational numbers, the standard convention is to treat them as sequences of integers, lexicographically sorted.


(Log in to post comments)

Ubuntu 8.04

Posted May 6, 2008 2:37 UTC (Tue) by jamesh (subscriber, #1159) [Link]

The problem here is with people rather than computers.  The version numbers look like normal
decimal numbers, and people know that 8.4 is greater than 8.10.

By using 8.04 instead, the ambiguity goes away.

Ubuntu 8.04

Posted May 6, 2008 9:32 UTC (Tue) by Los__D (subscriber, #15263) [Link]

IMHO the problem is someone defining x.1x > x.2 in the first place...

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds