I followed the Official Packaging Guide but still encounter the NO_PUBKEY AA16FCBCA621E701 error while trying to update on my Ubuntu VM.
When first installing Vault, I used those commands :
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository “deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main”
sudo apt-get update && sudo apt-get install vault
I used the apt-key del command to delete the old key. I also tried doing “curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -” again to see that the new key was indeed added, but still get the same error.
Could you help me get what I am missing ?
Thanks in advance for your help !