Score:0

sudo apt update not working on Ubuntu 22.04 LTS

no flag

It is giving the following error

  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxxxxxxxxxxxxx
Get:4 https://packages.microsoft.com/repos/ms-teams stable InRelease [5,931 B]                                                          
                                                
Hit:12 https://ppa.launchpadcontent.net/tomtomtom/woeusb/ubuntu jammy InRelease                                                         
Hit:13 https://ppa.launchpadcontent.net/ubuntuhandbook1/gimp/ubuntu jammy InRelease                                                     
Reading package lists... Done                                                                                                           
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxxxxxxx
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu jammy 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.
Artur Meinild avatar
vn flag
You don't have to censor out public keys ...
Arjun K Shibu avatar
jp flag
For unsigned repositories you could try `sudo apt update --allow-insecure-repositories`. It will bypass the error saying the repository is unsigned.
Artur Meinild avatar
vn flag
The WineHQ pubkey error is a well-known issue.
I sit in a Tesla and translated this thread with Ai:

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.