Ask Your Question
0

How do I update wine with a Public Key

asked 2019-03-18 17:44:55 -0500

So recently I wanted to Upgrade from Fedora 27 to 28, but I keep running into this error

     warning: /var/lib/dnf/system-upgrade/WineHQ-d7e087c5c78f9c16/packages/wine-staging-common-4.0.rc7-4.1.i686.rpm: Header V4 RSA/SHA256 Signature, key ID f987672f: NOKEY
    Importing GPG key 0x5FCBF54A:
     Userid     : "Sebastian Lackner (WineHQ packages) <sebastian@fds-team.de>"
     Fingerprint: 4A9E 0F43 60DC 0D17 956D 904E 818A 435C 5FCB F54A
     From       : https://dl.winehq.org/wine-builds/Release.key
    Is this ok [y/N]: y
    Key imported successfully
    Import of key(s) didn't help, wrong key(s)?
    Public key for wine-staging-common-4.0.rc7-4.1.i686.rpm is not installed. Failing 

package is: wine-staging-common-1:4.0.rc7-4.1.i686
 GPG Keys are configured as: https://dl.winehq.org/wine-builds/Release.key
Public key for wine-staging64-4.0.rc7-4.1.x86_64.rpm is not installed. Failing package is: wine-staging64-1:4.0.rc7-4.1.x86_64
 GPG Keys are configured as: https://dl.winehq.org/wine-builds/Release.key
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

So then I went to WineHQ and found out I need to update my Public key, but it turns out, I can't actually do that, because the command I need to install the key, doesn't work at all

sudo apt-key add winehq.key
sudo: apt-key: command not found

Does anyone have any solutions to this, I'd like to upgrade to Fedora 28 with Wine working

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-19 01:09:52 -0500

villykruse gravatar image

updated 2019-03-19 01:43:36 -0500

You should remove the wine packages you have at the moment and then do the upgrade.

If you want to install wine from WineHQ, to to wine fedora page and run

dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/29/winehq.repo

When you the install for example wine-stable64, the public key will take care if itself when you accept it during installation.

You can also install wine from the fedora repository

dnf install wine.x86_64
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-03-18 17:44:55 -0500

Seen: 47 times

Last updated: Mar 19