Dear Elastic Community,
I installed Ubuntu on my PC through virtual Box and I am trying to install / explore Elastic.
When in entered following command: sudo apt-get update && sudo apt-get install elasticsearch
I got this error “ **r:3 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 ”
By doing some search, I found that it could be solved by executing these two commands:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | apt-key add –
unfortunately, I cannot execute the second command as I am getting an error message although I added SUDO in the beginning
WARNING: unsafe ownership on homedir '/home/khalid/.gnupg'
E: This command can only be used by root.
Thank you in advance for your help