Ask Your Question
0

Public key is not installed

asked 2018-11-04 09:26:34 -0500

ladlelord gravatar image

I get the error, "public key is not installed", when installing winehq-staging I added the winehq repository for Fedora 29:

$ dnf config-manager --add-repo https://download.opensuse.org/repositories/Emulators:/Wine:/Fedora/Fedora_29_standard/Emulators:Wine:Fedora.repo

When I run dnf install winehq-staging, I get the following error:

warning: /var/cache/dnf/download.opensuse.org_repositories_Emulators_Wine_Fedora_Fedora_29_standard_-9df5e479cdf2281b/packages/wine-staging-common-3.19-6.1.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 5104960e: NOKEY
Public key for wine-staging-common-3.19-6.1.i686.rpm is not installed
Public key for wine-staging64-3.19-6.1.x86_64.rpm is not installed
Public key for winehq-staging-3.19-6.1.x86_64.rpm is not installed
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

How can I add the proper key and install winehq-staging?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-11-05 01:27:33 -0500

johanh gravatar image

updated 2018-11-05 01:28:18 -0500

You can find the link to the key in the repo file. Thus you can manually install the key:

sudo rpm --import http://download.opensuse.org/reposito...

This is how it should work. However, if the packages are wrongly signed or broken, then you will get an error and it is not a good idea to install.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-11-04 09:26:34 -0500

Seen: 464 times

Last updated: Nov 05 '18