Linux Mint 19 The repository is not signed

Questions about Wine on Linux
Post Reply
toastybread
Newbie
Newbie
Posts: 1
Joined: Mon Oct 15, 2018 5:17 pm

Linux Mint 19 The repository is not signed

Post by toastybread » Mon Oct 15, 2018 5:24 pm

After adding the repository I get this error when trying to update.

Can I whitelist this repository or how do I update the key?

Code: Select all

toast@waffle:~$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
[sudo] password for toast: 
toast@waffle:~$ sudo apt-get update
Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://linux.teamviewer.com/deb preview InRelease                        
Get:3 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [4,701 B]      
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]    
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease                     
Err:3 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]    
Ign:9 http://packages.linuxmint.com tara InRelease                        
Hit:10 http://packages.linuxmint.com tara Release
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic 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.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2772
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: Linux Mint 19 The repository is not signed

Post by Bob Wya » Mon Oct 15, 2018 10:44 pm

toastybread wrote:After adding the repository I get this error when trying to update.

Can I whitelist this repository or how do I update the key?
...
Does:

Code: Select all

cd
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
fix this issue? Or not?

From: WineHQ Download Ubuntu.

Bob

bbuske
Newbie
Newbie
Posts: 3
Joined: Fri Sep 21, 2018 10:48 am

Re: Linux Mint 19 The repository is not signed

Post by bbuske » Sun Nov 25, 2018 9:30 am

Hi,
thanks for this post.
It helped me fixing the exactly same issue the OP had.

Cheers

vichman
Newbie
Newbie
Posts: 2
Joined: Wed Dec 19, 2018 5:11 pm

Re: Linux Mint 19 The repository is not signed

Post by vichman » Wed Dec 19, 2018 5:19 pm

It didn't helped in my case. Though I run Ubuntu 18.04, I think there is a certain issue with WineHQ public key. Steps I've taken:

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Automatically the system does a 'sudo apt update' and it throws the following error:

Code: Select all

W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
And if I try to add the public key:

Code: Select all

gpg --keyserver keys.gnupg.net --recv 76F1A20FF987672F
it shows:

Code: Select all

gpg: keyserver receive failed: Connection timed out
So I'm not able to update winehq (I have it previously installed).

Any clue?

TIA.

User avatar
dimesio
Moderator
Moderator
Posts: 12687
Joined: Tue Mar 25, 2008 10:30 pm

Re: Linux Mint 19 The repository is not signed

Post by dimesio » Wed Dec 19, 2018 5:44 pm

vichman wrote:It didn't helped in my case. Though I run Ubuntu 18.04, I think there is a certain issue with WineHQ public key. Steps I've taken:

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
[/quote]
See https://forum.winehq.org/viewtopic.php?f=8&t=31621

vichman
Newbie
Newbie
Posts: 2
Joined: Wed Dec 19, 2018 5:11 pm

Re: Linux Mint 19 The repository is not signed

Post by vichman » Fri Dec 21, 2018 1:54 pm

So it was just a problem of WineHQ repository key change. I've followed the topic Dimesio pointed and now everything is fine.

Thanks a lot!

Post Reply