Debian package version

Tom H tomh0665 at gmail.com
Fri Nov 6 10:04:24 UTC 2015


On Fri, Nov 6, 2015 at 8:32 AM,  <silver.bullet at zoho.com> wrote:
> On Fri, 6 Nov 2015 04:44:39 +0100, Tom H wrote:
>> On Fri, Nov 6, 2015 at 3:50 AM, Sam Giraffe wrote:
>>>
>>> 201510162108+0a8974b-HEAD
>>> 20151029T114141+259421f+HEAD
>>
>> 201510162108 > 20151029
>
> The strings are compared from left to right.
>
> ...

All of which confirms my post.

In both Ubuntu and Debian, you can get the policy with "man deb-version".

You can compare versions with "dpkg -compare-versions version1 gt
version2" and check the exit code.




More information about the ubuntu-users mailing list