Downloading deb package but error 403

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Debian 11, Opensearch 2.8.0

Describe the issue:
I was downloading Graylog but i wasnt able to download Opensearch. When using wget or curl, i was given 403 forbidden. I am new to Linux and Opensearch. Anyone able to guide?

Configuration:

Relevant Logs or Screenshots:

Well, are you trying to install Opensearch by downloading the deb packages manually or through the apt repository?

It seems like your trying both, but you have to decide for one method.

To install it from the apt repo, simply follow the steps described in the documentation. Maybe start with a fresh Debian install.

The other way is by downloading the package manually. You already have the necessary files in your root users home directoriy. To install the packages simpy run
sudo apt install ./opensearch*.deb -y
inside the root users directory .

I try to follow the documentation but it cannot be done.
As for your instruction, i did it too but to no avail.

dpkg does not have the package and apt-get update come back with a error 403 forbidden

@lladasll Is there any reason for using Debian 11? Have you tried Ubuntu 22.04 instead?

@lladasll Please share the documentation you’ve followed to install OpenSearch.

This is the documentation that I followed:

https://go2docs.graylog.org/5-0/downloading_and_installing_graylog/debian_installation.htm

I am doing testing on Graylog and my company are mostly using Debian 11
I am stuck at installing Opensearch

The official deb package ist not signed. Therefore this error should not even be possible to occur.
Also your downloadlink does not match the one from the opensearch documentation.

Consider downloading yout package via curl or wget from this link:

https://artifacts.opensearch.org/releases/bundle/opensearch/2.8.0/opensearch-2.8.0-linux-x64.deb

@lladasll You’ve used the incorrect URL for the APT repository.

According to your screenshot, you’ve configured.

https://artifacts.opensearch.org/release/bundle/opensearch/2.x/apt

That URL will cause reported error

The correct URL, as per the documentation, is:

https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt
echo "deb [signed-by=/usr/share/keyrings/opensearch-keyring] https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable main" | sudo tee /etc/apt/sources.list.d/opensearch-2.x.list

The quick fix is correcting the APT URL in /etc/apt/sources.list.d/opensearch-2.x.list

image