Can't validade GPG key.

Questions about Wine on Linux
Locked
Hekaw
Newbie
Newbie
Posts: 1
Joined: Sun May 27, 2018 3:58 pm

Can't validade GPG key.

Post by Hekaw »

Trying to install WineHQ on Debian, I'm doing all the steps on https://wiki.winehq.org/Debian. Downloading the Release.key outputs:

Code: Select all

--2018-05-27 18:02:39--  https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.176.69
Connecting to dl.winehq.org (dl.winehq.org)|151.101.176.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3,0K) [application/pgp-keys]
Saving to: ‘Release.key’

Release.key                        100%[================================================================>]   3,05K  --.-KB/s    in 0s      

2018-05-27 18:02:40 (33,4 MB/s) - ‘Release.key’ saved [3122/3122]
but trying to "sudo apt-key add Release.key" outputs:

Code: Select all

gpg: no valid OpenPGP data found.
What am I missing? I'm on Debian Stretch, fresh install. Don't know if I need to provide any more information, but I'll try to update if needed to.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Can't validade GPG key.

Post by Bob Wya »

@Hekaw,

Obvious first things to check...

What is your PWD when you download the key file, in a terminal?
Is this location writeable by your (logged in) Linux user?
Are the contents of the downloaded Release.key file, the same as the online copy?

Bob
pipm1
Newbie
Newbie
Posts: 2
Joined: Thu Jun 07, 2018 8:27 am

Re: Can't validade GPG key.

Post by pipm1 »

I've got the exact same problem for the last couple of weeks. I've tried reinstalling fresh latest Debian stable twice & got the same issue. It used to work fine on previous fairly recent installations. I tried giving it some time in case the file got changed but I've just re-downloaded it & it still looks the same. Is the Release.key file valid still? It just looks like a HTML file & I can't find "PGP" within it when searching. I'm no expert but the Release.key looks broken.
pipm1
Newbie
Newbie
Posts: 2
Joined: Thu Jun 07, 2018 8:27 am

Re: Can't validade GPG key.

Post by pipm1 »

Just in case anyone is reviewing my last post - I was wrong. I had been following instructions for wine-staging. Their install instructions point to HTML page.

Sorry.

:(
Locked