Bug#205960: Version comparing and ~
On Sun, Aug 17, 2003 at 11:09:16PM +0200, Koblinger Egmont wrote:
> Package: apt
> Version: 0.5.9
>
> Around 0.5.5 apt introduced that the tilde character compares to be less
> than anything else (including the end of the string), e.g.
> 3.0~rc1-1 < 3.0-1. This is also the way dpkg compares version strings.
>
> In apt 0.5.9 it seems to be gone/broken, it believes 3.0~rc1-1 is newer
> than 3.0-1.
Are you sure that it actually worked in 0.5.5? Nothing has changed in that
area since then, and I just tested with apt 0.5.5.1 and 3.0~rc1-1 compares
greater than 3.0-1 there as well.
--
- mdz
Reply to: