martin f krafft <[EMAIL PROTECTED]> schrieb: > I use > > 5.0-0+5.0pre1+2 > A B C D > > with A being the main version, B the debian release (0 < 1), C the > real version, and D the debian release of the pre-release. > > I think this should work fine.
Except that, as far as I can see, it doesn't matter that (0 < 1). The debian revision is the part after the *last* dash; there may be more dashes in the upstream version. I don't know whether dpkg cares about this when comparing versions; it probably doesn't distinguish between upstream version and debian revision in this case; but the result is probably the same. But if you previously had 5.0-6 and now package release candidate 1 for 5.1, you can use 5.0-6+5.1pre1-2 or 5.0-0+5.1pre1-2 - both will be larger than 5.0-6, and smaller than 5.1-1. Regards, Frank -- Frank K�ster Inst. f. Biochemie der Univ. Z�rich Debian Developer

