GPG errors and missing keys while trying to install Wine

Questions about Wine on Linux
Locked
FinderX
Newbie
Newbie
Posts: 3
Joined: Sun Jul 12, 2020 1:42 pm

GPG errors and missing keys while trying to install Wine

Post by FinderX »

Hi.

I try to install Wine in Ubuntu 18.04 and follow the wiki:

Code: Select all

sudo dpkg --add-architecture i386 
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
And have the following outputs:

Code: Select all

sudo apt-key add winehq.key 

gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:selmf.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 90BD7EACED8E640A: 1 signature not checked due to a missing key
gpg: key DFA175A75104960E: 1 signature not checked due to a missing key
gpg: key 76F1A20FF987672F: 1 signature not checked due to a missing key
gpg: key FCAE110B1118213C: 12 signatures not checked due to missing keys
gpg: key 0F92290A445B9007: 6 signatures not checked due to missing keys
gpg: key 3F3411BE43F8BC1F: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 17
gpg:       skipped new keys: 17
I can't install it in this point... can anyone help me? thanks.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: GPG errors and missing keys while trying to install Wine

Post by jkfloris »

Code: Select all

gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:selmf.gpg'
This file isn't part of Wine. The WineHQ key is stored in etc/apt/trusted.gpg
Move this file to another location and try apt-key add again.
Locked