On Fri, Nov 14, 2008 at 7:50 PM, Peter Fritzsche <[EMAIL PROTECTED]> wrote:
> On Friday 14 November 2008 19:33:41 Pau Garcia i Quiles wrote:
>> > 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.
> So what is the correct way? Use 1.0.18a+dfsg-1 or 1.0.18.a.dfsg-1 or....?

The only thing that worked for me is 1.0.18.dfsg.a-1. Ugly.

If the previous version would have been 1.0.18~dfsg-1, 1.0.18a~dfsg-1
would have been perfectly fine.

--
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