Score:-1

When I run sudo apt-get update I get "An error occured during the signature verification"

mz flag

This is the error message I run into:

An error occurred during the signature verification. The repository is not updated and the previous index files will be used.
GPG error: https://apt.releases.hashicorp.com focal
InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA16FCBCA621E701.

Then I ran this:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA16FCBCA621E701
sudo apt-key list

Just to make sure the key has been imported and it has. But I still keep getting the same error message when I run sudo apt-get update

Pilot6 avatar
cn flag
Does this answer your question? [How do I fix the GPG error "NO\_PUBKEY"?](https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey)
Score:0
bs flag

Under sudo:

wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor > /usr/share/keyrings/hashicorp-archive-keyring.gpg
gpg --no-default-keyring --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg --fingerprint
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/hashicorp.list
apt update
andrew.46 avatar
in flag
Please expand a little on your answer...
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.