Attempt install v3.0.3 = "public key is not available"

Questions about Wine on Linux
Locked
kirbo719
Newbie
Newbie
Posts: 3
Joined: Fri Aug 26, 2016 10:14 am

Attempt install v3.0.3 = "public key is not available"

Post by kirbo719 »

Nearly as I can determine this issue was posted for help in early Oct., 2018 without a solution.

Attempting wine-stable install on Xubuntu 18.04.1 using install instructions on winehq.org:

Obtaining a key was straightforward using this command:

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key
and no errors were reported.

On attempt to "apt-get" the package, this message presents:

Code: Select all

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
Ign:6 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ InRelease
Hit:7 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ Release
Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [381 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [427 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [573 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [568 kB]
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.
Would someone kindly instruct a work-around on this?

Thanks!
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Attempt install v3.0.3 = "public key is not available"

Post by dimesio »

Obtaining a key was straightforward using this command:

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key
and no errors were reported.

On attempt to "apt-get" the package, this message presents:
Nowhere in there do you say how you added the repository, or if you even added it at all. If you didn't, you need to. If you did, what was the exact command?

What I do see is:

Code: Select all

Hit:7 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ Release
That repository is only for 18.10. Why did you add it if you are on 18.04?

From what you've posted, it looks as if you downloaded the Release.key for dl.winehq.org but added the OBS repository. That's never going to work; the keys for the repositories are different.
Locked