Spacewalk: How to Install or Import GPG Public Keys on Linux Clients

(Doc ID 2337559.1)

Last updated on MARCH 08, 2018

Applies to:

Linux OS - Version Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] and later
Information in this document applies to any platform.

Symptoms

While updating/patching manually spacewalk connected clients using #yum update getting below error/message

[Spacewalk_Client]# yum update
Loaded plugins: langpacks, rhnplugin, ulninfo
This system is receiving updates from spacewalk server.

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key

Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and yum
will install it for you.

For more information contact your distribution or package provider.

Problem repository: ol7_latest

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms