I intend to install Elasticsearch 8.8 on an Ubuntu 22.04 server following the link below: Install Elasticsearch with Debian Package | Elasticsearch Guide [8.9] | Elastic
The server has internet access, and the
apt update command worked correctly. I have also updated and upgraded the Ubuntu server. However, when I add the key and source list required for installing Elasticsearch 8.8 and run
apt update again, I encounter the following error:
E: The repository 'https://artifacts.elastic.co/packages/8.x/apt stable Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
How can I resolve this error?