On Fri, Nov 14, 2008 at 7:21 PM, Pau Garcia i Quiles
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> Why is version 1.0.18a.dfsg considered OLDER than 1.0.18.dfsg?
>
> $ dpkg --compare-versions 1.0.18a.dfsg-1 gt 1.0.18.dfsg-1 ; echo $?
> 1
>
> If not adding the ".dfsg", the result is as expected (1.0.18a > 1.0.18) :
>
> $ dpkg --compare-versions 1.0.18a-1 gt 1.0.18-1 ; echo $?
> 0
>
> Is that a bug with version numbers which contain ".dfsg", or is it
> that I don't understand something about versioning?

OK, I've been told in #debian-mentors: . > any letter
lexicographically. Sorry for the fuss.


--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to