Logstash package version convention in Debian

Hi all,

I just noticed that versions of the logstash in debian packages are different from others:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

# Add the repository follow https://www.elastic.co/guide/en/logstash/7.17/installing-logstash.html#_apt

# `artifacts.elastic.co_packages_7.x_apt_dists_stable_main_binary-amd64_Packages` is the package list file 
$ grep -E "^(Package|Version)" /var/lib/apt/lists/artifacts.elastic.co_packages_7.x_apt_dists_stable_main_binary-amd64_Packages | awk -F:\   '{print $2}' | sed -z -E 's/([a-z])\n/\1,/g' | head
apm-server,7.17.2
apm-server,7.17.1
apm-server,7.17.0
apm-server,7.16.3
apm-server,7.16.2
apm-server,7.16.1
apm-server,7.16.0
apm-server,7.15.2
apm-server,7.15.1
apm-server,7.15.0

$ sudo apt-cache madison kibana | awk -F'|' '/1:.*1/{gsub(/ /, ""); print $1}' | uniq

$ grep -E "^(Package|Version)" /var/lib/apt/lists/artifacts.elastic.co_packages_7.x_apt_dists_stable_main_binary-amd64_Packages | awk -F:\   '{print $2}' | sed -z -E 's/([a-z])\n/\1,/g' | grep : | head -10
logstash,1:7.17.2-1
logstash,1:7.17.1-1
logstash,1:7.17.0-1
logstash,1:7.16.3-1
logstash,1:7.16.2-1
logstash,1:7.16.1-1
logstash,1:7.16.0-1
logstash,1:7.15.2-1
logstash,1:7.15.1-1
logstash,1:7.15.0-1

$ sudo apt-cache madison logstash | awk -F'|' '/1:.*1/{gsub(/ /, ""); print $1}' | uniq
logstash

$ grep -E "^(Package|Version)" /var/lib/apt/lists/artifacts.elastic.co_packages_7.x_apt_dists_stable_main_binary-amd64_Packages | awk -F:\   '{print $2}' | sed -z -E 's/([a-z])\n/\1,/g' | awk -F, '/:/{print $1}' | uniq
logstash

Why only the version of logstash is different from the others, like 1:<semver>-1?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.