I am using Ubuntu 16.04 and trying to install Elasticsearch 5.3 with this instruction: https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html
After I apt-key and put file at /etc/apt/sources.list.d, I tried to install elasticsearch. However, I am getting this warning:
root@john:~# apt-get install elasticsearch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
elasticsearch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 33.6 MB of archives.
After this operation, 37.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
elasticsearch
Install these packages without verification? [y/N]
I thought that the "apt-key" command should have install the public key. Did I do anything wrong? Thanks!