Score:0

How do I fix this apt error when trying to update?

ng flag

I’m not sure what I did before, but now I can’t run apt-get update. Any ideas on how to recover from this?

sudo apt-get update

Get:1 https://cli.github.com/packages focal InRelease [3741 B]
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease                 
Hit:3 https://download.docker.com/linux/ubuntu focal InRelease            
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Err:1 https://cli.github.com/packages focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C99B11DEB97541F0
Reading package lists... Done
W: GPG error: https://cli.github.com/packages focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C99B11DEB97541F0
E: The repository 'https://cli.github.com/packages focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
ng flag
No. I tried that already
ng flag
But what did work was `sudo apt-add-repository -r https://cli.github.com/packages`
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.