This document (7021171) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Manager 3
SUSE Manager 3.1
Situation
Resolution
gpgcheck = 0
repo_gpgcheck = 0
pkg_gpgcheck = 1
With libzypp-16.16.* the above configuration will reject unsigned packages.
With zypper-1.13.31 the following new options will be available to manage the behaviour changes for adding and modifying repositories:
–gpgcheck (default: requires either signed repo or signed package)
gpgcheck = 1
(repo_gpgcheck/pkg_gpgcheck unset: follow zypp.conf)–gpgcheck-strikt (requires signed package even for signed repos)
gpgcheck = 1
repo_gpgcheck = 1
pkg_gpgcheck = 1–gpgcheck-allow-unsigned (allow repo and package to be unsigned)
gpgcheck = 1
repo_gpgcheck = 0
pkg_gpgcheck = 0–gpgcheck-allow-unsigned-repo (allow repo to be unsigned)
gpgcheck = 1
repo_gpgcheck = 0
(pkg_gpgcheck unset: follow zypp.conf)–gpgcheck-allow-unsigned-package (allow package to be unsigned)
gpgcheck = 1
(repo_gpgcheck unset: follow zypp.conf)
pkg_gpgcheck = 0
Cause
Additional Information
File ‘repomd.xml’ from repository ‘repo_name’ is unsigned, continue? [yes/no] (no):
and should it be a non-interactive run it will be declined by default.
Disclaimer
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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.