content.key doesn't contain public key data

  • 7008247
  • 31-Mar-2011
  • 30-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3
Subscription Management Tool (SMT) for SUSE Linux Enterprise 11 1.1
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 11 Service Pack 1

Situation

Trying to add an installation source or register with the NCC 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)

Feedback service temporarily unavailable. For content questions or problems, please contact Support.