On Thu, Sep 19, 2002, Andrew J Caines wrote: > Preparing... ########################################### [100%] > package links-2.0pre6-20020531 (which is newer than links-2.0-20020611) is already >installed > > ..which I presume indicates an error in the version comparison code, > where- and whatever it may be. >
Hello Andrew, Technically, we could try catching words like 'pre' (meaning older) 'post' (meaning newer), 'beta' (meaning older), 'rc' (meaning older), 'plus' (meaning newer), and so on. The problem is that one can never cover most of the possibilites, and even worse some possibilities are interpreted differently by vendors providing the pristine sources. A pattern with enough complexity could also never be constructed to separate newer from older. I think that the logic you described is a part of RPM rather than OpenPKG (somebody please correct this if it is wrong). The folks at RedHat probably took the easy route in considering that all text of a version label (including all alphanumerics) be counted and used when comparing with an outstanding installed package. In any case, OpenPKG package writers should do their best to avoid this problem by not packaging beta grade software at all. This rule is pretty well followed, but I can't explain the prereleased link package getting in the build. In any case, it is gone now. Only the stable version is there. -- [EMAIL PROTECTED] Development Team, Application Services Cable & Wireless Deutschland GmbH
msg00132/pgp00000.pgp
Description: PGP signature
