Debian package version

Sam Giraffe sam at giraffetech.biz
Fri Nov 6 02:50:41 UTC 2015


Hello,

How does apt-get understand if a package version is newer than another one?

In case of simple versioning of packages such as 1.0, 1.1, 1.2, I
imagine it does a comparison between the numbers?

My problem is that my package is versioned as such:

201510162108+0a8974b-HEAD
20151029T114141+259421f+HEAD

And apt-get install <package> is telling me that the 1016 package is
newer than the 1029 package which is not true.

So when I run apt-get install I get this message:

mypackage:amd64 201510162108+0a8974b-HEAD newer than version in archive

This is not true, since the one in the archive is from Oct 29.

Will I have to change my package versioning for apt-get to understand
the package versions?

Thank you



More information about the ubuntu-users mailing list