# Logstash package version convention in Debian

**URL:** <https://discuss.elastic.co/t/logstash-package-version-convention-in-debian/301607>\
**Category:** Logstash\
**Created:** [April 5, 2022, 9:12am UTC](https://discuss.elastic.co/t/logstash-package-version-convention-in-debian/301607 "2022-04-05T09:12:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flavono123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flavono123/32/78039_2.png) [@flavono123](https://discuss.elastic.co/u/flavono123)\
**Post date:** [April 5, 2022, 9:12am UTC](https://discuss.elastic.co/t/logstash-package-version-convention-in-debian/301607/1 "2022-04-05T09:12:51Z")

</div>

Hi all,

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

```nohighlight
$ 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`?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 3, 2022, 9:13am UTC](https://discuss.elastic.co/t/logstash-package-version-convention-in-debian/301607/2 "2022-05-03T09:13:49Z")

</div>

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