Paolo Mascellani

Authored Comments

Hi Seth,

sure: after "On Ubuntu or Debian, do not use the add-apt-repository utility. It causes errors due to a mismatch in its defaults and what Elasticsearch’s repository provides. Instead, set up this one:" you give the correct command in order to setup the Debian/Ubuntu repository:

> $ echo "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list

However, in order to install the packets from the repository it is necessary to obtain the key from a keyserver:

> sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv D27D666CD88E42B4

Moreover, it is necessary to update the packets lists:

> sudo apt update

Ciao, Paolo.

following the instructions for Ubuntu systems, I faced the classic NO_PUBKEY D27D666CD88E42B4 error.

It can be fixed with "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv D27D666CD88E42B4"