Score:-1

NO_PUBKEY error when trying to run "sudo apt update"

ro flag

I was trying to install Sublime Text from the terminal. I followed these steps. I didn't use the update command because I already ran it a day earlier, and started with the second step. Then I started having errors, so this time I also ran the sudo apt-get update command, but now it's showing me this error message.

the error

vanadium avatar
cn flag
Please do not include terminal input as a link to a graphic. Instead, copy paste the text of the terminal in your question, and format it as code.
karel avatar
sa 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:1
cn flag

You did not properly add the GPG key of the repository you have added. Go to step 3 of the link you provided, and try again:

curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
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.