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

Re: Building Debian packages in CI (ick)



On Thu, Jul 19, 2018 at 06:49:11PM +0200, Mechtilde wrote:
> Please regard that foo_1.2-1~debian9 is greater than foo_1.2-1~debian10,
> which stand for Debian Buster

Nope:
dpkg --compare-versions 1.2-1~debian9 lt 1.2-1~debian10

In Debian versions, like in all modern version comparison schemes, a string
of digits sorts by its numerical value rather than strictly asciibetically.


Meow.
-- 
// If you believe in so-called "intellectual property", please immediately
// cease using counterfeit alphabets.  Instead, contact the nearest temple
// of Amon, whose priests will provide you with scribal services for all
// your writing needs, for Reasonable And Non-Discriminatory prices.


Reply to: