Hi,
I have Ubuntu 20.04 LTS with the latest updates.
root@pk-elk1:/etc/kibana# uname -a
Linux pk-elk1 5.13.0-1028-azure #33~20.04.1-Ubuntu SMP Fri Jun 3 15:13:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
On this Ubuntu, I have APT repo added for Elastic 8.x.
I can check the available versions of the Logstash package in the repository, for example:
root@pk-elk1:/etc/kibana# apt-cache policy logstash
logstash:
Installed: 1:8.3.2-1
Candidate: 1:8.3.2-1
Version table:
*** 1:8.3.2-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
100 /var/lib/dpkg/status
1:8.3.1-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.3.0-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.2.3-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.2.2-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.2.1-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.2.0-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.1.3-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.1.2-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.1.1-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.1.0-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.0.1-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
1:8.0.0-1 500
500 https://artifacts.elastic.co/packages/8.x/apt stable/main amd64 Packages
We can see that version 8.3.1 is available.
However, we can't force install version logstash=8.3.1:
root@pk-elk1:/etc/kibana# apt install logstash=8.3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '8.3.1' for 'logstash' was not found
root@pk-elk1:/etc/kibana# apt install logstash=8.3.1-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '8.3.1-1' for 'logstash' was not found
Why does such a problem arise?
Any idea?