SUSE Support

Here When You Need Us

content.key doesn't contain public key data

This document (7008247) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 3
Subscription Management Tool 11.1

Situation

Trying to add an installation source or register with the NCC/SCC or a local SMT server pops up this error:

"Unknown Error: File /var/tmp/TmpDir.2a1lo0/DATA/content.key doesn't contain public key data"

 

Resolution

Checking the /var/log/YaST2/y2log showed this error:

Cannot execute external program gpg: No such file or directory

/usr/bin/gpg was either renamed or replaced with gpg1 or gpg2.  Two possible solutions:

1.  Re-install the gpg rpm
2.  Create a softlink from gpg1 to gpg (ln -s /usr/bin/gpg1 /usr/bin/gpg)

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7008247
  • Creation Date: 31-Mar-2011
  • Modified Date:12-Oct-2022
    • Subscription Management Tool
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.