How to import suse_key for signed PTF packages

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


SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise Server 15


While fixing issues in the OS it might be needed to install a PTF (= Problem Temporary Fix) into a production system.

The packages SUSE provides are signed against a special PTF key.

This key is not imported by default on SLES 12 and SLES 15 systems, even though it is provided by the suse-build-key RPM that is being installed automatically.

Error seen while installing a PTF patch using zypper. 
Looking for gpg key ID B37B98A9 in cache /var/cache/zypp/pubkeys.
Repository Plain RPM files cache does not define additional 'gpgkey=' URLs.
<name of ptf file> (Plain RPM files cache): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a): 



To be able to install a PTF on SLES 12 the key needs to be manually imported first by issuing the following command:

rpm --import /usr/share/doc/packages/suse-build-key/suse_ptf_key.asc

For AutoYaST driven installations this behavior causes a problem as the PTF key signature is no longer contained in the initrd and needs to be loaded in addition. The following pre-install part for AutoYaST will show how to import the PTF key from a HTTP-source:
/usr/bin/rpm --import http://FQDN/path/suse_ptf_key.asc

Additional Information

Please also visit TID#7016640 for "Best practices for applying Program Temporary Fixes (PTFs)".


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:7016511
  • Creation Date: 20-May-2015
  • Modified Date:09-Dec-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact:

SUSE Support Forums

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

Join Our Community

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.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center