Sample Header Ad - 728x90

No valid OpenPGP data found - Elasticsearch wget

0 votes
1 answer
4369 views
I am trying to install elasticsearch on Ubuntu 20.04, but I am getting the following error:
home@VirtualBox$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch  | sudo apt-key add -
gpg: no valid OpenPGP data found.
I also tried the following with no luck:
VirtualBox:~$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch  -O mykey
VirtualBox:~$ sudo apt-key add <<< mykey
[sudo] password for VirtualBox: 
gpg: no valid OpenPGP data found.
I already updated Ubuntu packages:
sudo apt-get update
How could I solve this issue? Thanks in advance
Asked by John Barton (101 rep)
Jan 31, 2021, 06:43 AM
Last activity: May 10, 2025, 08:02 PM