DevHeads.net

Build id vs Version number in Synaptic

Why do some packages use a build id to show the latest version and
others seem to use a version number? For example Libreoffice Calc shows
a build id while Firefox shows a version number.

This sometimes makes it difficult to determine how current a package in
a repository is when comparing it to a version of a program you may have
seen on the net.

Regards, Jim

Comments

Re: Build id vs Version number in Synaptic

By Colin Law at 10/10/2017 - 02:30

On 9 October 2017 at 21:31, Jim < ... at comcast dot net> wrote:
Can you give a detailed example of exactly what you mean please?

Colin

Re: Build id vs Version number in Synaptic

By Jim Byrnes at 10/10/2017 - 15:35

On 10/10/2017 02:30 AM, Colin Law wrote:
Never mind, I managed to confuse myself. I see now that the version
number of Libreoffice for example is embedded in the build id shown in
synaptic.

Regards, Jim

Re: Build id vs Version number in Synaptic

By silver.bullet at 10/10/2017 - 23:14

On Tue, 10 Oct 2017 15:35:34 -0500, Jim wrote:
There is nothing like a "build ID". Packages of most, if not all
distros are composed of the upstream software version, if upstream
should provide sane versioning and a package release.

Re: Build id vs Version number in Synaptic

By Colin Law at 10/11/2017 - 02:26

On 11 October 2017 at 05:14, Ralf Mardorf <silver. ... at zoho dot com> wrote:
Help About in libreoffice writer shows
Build ID: 1:5.3.1-0ubuntu2
In fact this is the same as the package version.

Colin

Re: Build id vs Version number in Synaptic

By silver.bullet at 10/10/2017 - 03:11

On Tue, 10 Oct 2017 08:30:57 +0100, Colin Law wrote:
Probably the OP is confused by the epoch, which is explained by the
manpage and several other sources available by the Internet.

Re: Build id vs Version number in Synaptic

By silver.bullet at 10/10/2017 - 00:53

On Mon, 9 Oct 2017 15:31:21 -0500, Jim wrote:
Hi,

<a href="https://www.google.de/search?q=ubuntu+package+versioning" title="https://www.google.de/search?q=ubuntu+package+versioning">https://www.google.de/search?q=ubuntu+package+versioning</a>

leads to e.g.

<a href="http://manpages.ubuntu.com/manpages/xenial/man5/deb-version.5.html" title="http://manpages.ubuntu.com/manpages/xenial/man5/deb-version.5.html">http://manpages.ubuntu.com/manpages/xenial/man5/deb-version.5.html</a>

It's not clear to me what you are actually asking regarding

libreoffice-calc (1:5.1.6~rc2-0ubuntu1~xenial2)
<a href="https://packages.ubuntu.com/xenial-updates/libreoffice-calc" title="https://packages.ubuntu.com/xenial-updates/libreoffice-calc">https://packages.ubuntu.com/xenial-updates/libreoffice-calc</a>

firefox (56.0+build6-0ubuntu0.14.04.2 and others)
<a href="https://packages.ubuntu.com/trusty-updates/firefox" title="https://packages.ubuntu.com/trusty-updates/firefox">https://packages.ubuntu.com/trusty-updates/firefox</a>

?

You could use google to get information about special details and
general versoning schemes, also consider to read Wiki pages, e.g.

<a href="https://en.wikipedia.org/wiki/Software_versioning#Designating_development_stage" title="https://en.wikipedia.org/wiki/Software_versioning#Designating_development_stage">https://en.wikipedia.org/wiki/Software_versioning#Designating_developmen...</a>

FWIW sometimes the versioning needs to be detailed, because versioning
done by upstream leads to misunderstandings, especially if building an
unreleased version from git necessarily is required, e.g.

[root@moonstudio ~]# jackd --version | head -1
jackdmp 1.9.11
[root@moonstudio ~]# apt list jackd2 2>/dev/null | tail -1
jackd2/xenial,now 1.9.10+20150825git1ed50c92~dfsg-1ubuntu1 amd64 [installed]

Sometimes upstream doesn't provide a version at all, so the only
landmark is the date.

Regards,
Ralf

Re: Build id vs Version number in Synaptic

By silver.bullet at 10/10/2017 - 01:14

If upstream provides sane versioning it's part of the package
versioning. However, since it's possible to build software with
different features [1] and/or against different versions of libraries
[2], the versioning of packages requires additional information.
Something more or less unique for Ubuntu is, that it additionally could
contain the relationship between Debian and Ubuntu packages.

[1] An example from a mailer. You could drop those features when
building, by not configuring with one or both options:
./configure --enable-bogofilter-plugin --enable-spamassassin-plugin

[2]
<a href="https://en.wikipedia.org/wiki/Soname" title="https://en.wikipedia.org/wiki/Soname">https://en.wikipedia.org/wiki/Soname</a>

Re: Build id vs Version number in Synaptic

By silver.bullet at 10/10/2017 - 00:58

On Tue, 10 Oct 2017 07:53:36 +0200, Ralf Mardorf wrote:
resp.
firefox (56.0+build6-0ubuntu0.16.04.2 and others)
<a href="https://packages.ubuntu.com/xenial-updates/firefox" title="https://packages.ubuntu.com/xenial-updates/firefox">https://packages.ubuntu.com/xenial-updates/firefox</a>