[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PRE Version numbers



On Mon, Jan 15, 2001 at 02:51:27PM +0100, Ingo Saitz wrote:
>     upstream-version debian-revision    version
>         1.4-0pre1   -       1       = 1.4-0pre1-1
>         1.4-0pre1   -       2       = 1.4-0pre1-2
>         1.4-0pre2   -       1       = 1.4-0pre2-1
>         1.4         -       1       = 1.4-1

$ dpkg --compare-versions '1.4-0pre2-1' '<<' '1.4-1'; echo $?
1

Apparently dpkg treats 1.4-0pre2-1 as greater than 1.4-1, so this
wouldn't work...

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

     ``Thanks to all avid pokers out there''
                       -- linux.conf.au, 17-20 January 2001



Reply to: