Imported Upstream version 14.47.1
[platform/upstream/libzypp.git] / zypp.conf
index 3bbb6e4..311054a 100644 (file)
--- a/zypp.conf
+++ b/zypp.conf
 # repo.refresh.delay = 10
 
 ##
+## Translated package descriptions to download from repos.
+##
+## A list of locales for which translated package descriptions should
+## be downloaded, in case they are availavble and the repo supports this.
+## Not all repo formats support downloading specific translations only.
+##
+## Valid values:  List of locales like 'en', 'en_US'...
+## Default value: RequestedLocales
+##
+## If data for a specific locale are not available, we try to find some
+## fallback. Translations for 'en' are always downloaded.
+##
+# repo.refresh.locales = en, de
+
+##
 ## Maximum number of concurrent connections to use per transfer
+##
+## Valid values: Integer
+## Default value: 5
+##
 ## This setting is only used if more than one is possible
 ## Setting it to a reasonable number avoids flooding servers
 ##
-# download.max_concurrent_connections = 2
+# download.max_concurrent_connections = 5
 
 ##
 ## Sets the minimum download speed (bytes per second)
 # download.max_silent_tries = 5
 
 ##
+## Maximum time in seconds that you allow a transfer operation to take.
+##
+## This is useful for preventing your batch jobs from hanging for hours due
+## to slow networks or links going down. Limiting operations to less than a
+## few minutes risk aborting perfectly normal operations.
+##
+## Valid values:  [0,3600]
+## Default value: 180
+##
+# download.transfer_timeout = 180
+
+##
 ## Whether to consider using a .delta.rpm when downloading a package
 ##
 ## Valid values: boolean
 ## download.media_preference = download
 
 ##
+## Signature checking (repo metadata and downloaded rpm packages)
+##
+##   boolean   gpgcheck        (default: on)
+##   boolean   repo_gpgcheck   (default: unset -> according to gpgcheck)
+##   boolean   pkg_gpgcheck    (default: unset -> according to gpgcheck)
+##
+## Explicitly setting 'gpgcheck', 'repo_gpgcheck' 'pkg_gpgcheck' in a
+## repositories .repo file will overwrite the defaults for this specific
+## repo.
+##
+## If 'gpgcheck' is 'on' (the default) we will check the signature of repo metadata
+## (packages are secured via checksum inside the metadata). Using unsigned repos
+## needs to be confirmed.
+## Packages from signed repos are accepted if their checksum matches the checksum
+## stated in the repo metadata.
+## Packages from unsigned repos need a valid gpg signature, using unsigned packages
+## needs to be confirmed.
+##
+## The above default behavior can be tuned by explicitly setting 'repo_gpgcheck'
+## and/or 'pkg_gpgcheck':
+##
+##   'repo_gpgcheck = on' same as the default.
+##
+##   'repo_gpgcheck = off' will silently accept unsigned repos. It will NOT turn off
+##   signature checking on the whole, nevertheless it's not a secure setting.
+##
+##   'pkg_gpgcheck = on' will enforce the package signature checking and the need
+##   to confirm unsigned packages for all repos (signed and unsigned).
+##
+##   'pkg_gpgcheck = off' will silently accept unsigned packages. It will NOT turn off
+##   signature checking on the whole, nevertheless it's not a secure setting.
+##
+## If 'gpgCheck' is 'off' (not recommended), no checks are performed. You can still
+## enable them individually by setting 'repo_gpgcheck' and/or 'pkg_gpgcheck' to 'on'.
+##
+##   NOTE:
+##   BSC#1038984: For a short period of time, libzypp-16.15.x
+##   will silently accept unsigned packages IFF a repositories gpgcheck
+##   configuration is explicitly turned OFF like this:
+##       gpgcheck      = 0
+##       repo_gpgcheck = 0
+##       pkg_gpgcheck  = 1
+##   This will allow some already released products to adapt to the behavioral
+##   changes introduced by fixing BSC#1038984, while systems with a default
+##   configuration (gpgcheck = 1) already benefit from the fix in libzypp-16.15.x.
+##   With libzypp-16.16.x the above configuration will reject unsigned packages
+##   as it is supposed to do.
+##
+##   DISABLING GPG CHECKS IS NOT RECOMMENDED.
+##   Signing data enables the recipient to verify that no modifications
+##   occurred after the data were signed. Accepting data with no, wrong
+##   or unknown signature can lead to a corrupted system and in extreme
+##   cases even to a system compromise.
+##
+# repo_gpgcheck = unset -> according to gpgcheck
+# pkg_gpgcheck =  unset -> according to gpgcheck
+
+##
 ## Commit download policy to use as default.
 ##
 ##  DownloadOnly,      Just download all packages to the local cache.
 # solver.allowVendorChange = false
 
 ##
+## EXPERTS ONLY: Cleanup when deleting packages. Whether the solver should
+## per default try to remove packages exclusively required by the ones he's
+## asked to delete.
+##
+## This option should be used on a case by case basis, enabled via
+## command line options or switches the applications offer. Changing
+## the global default on a system where unattended actions are performed,
+## may easily damage your system.
+##
+## CHANGING THE DEFAULT IS NOT RECOMMENDED.
+##
+## Valid values:  boolean
+## Default value: false
+##
+# solver.cleandepsOnRemove = false
+
+##
 ## This file contains requirements/conflicts which fulfill the
 ## needs of a running system.
 ## For example the system would be broken if not glibc or kernel is
 ##
 ## When committing a dist upgrade (e.g. 'zypper dup') a solver testcase
 ## is written to /var/log/updateTestcase-<date>. It is needed in bugreports.
-## This optin returns the number of testcases to keep on the system. Old
+## This option returns the number of testcases to keep on the system. Old
 ## cases will be deleted, as new ones are created.
 ##
 ## Use 0 to write no testcase at all, or -1 to keep all testcases.
 ## Default value:
 ##     empty
 ##
-# multiversion = provides:multiversion(kernel)
+multiversion = provides:multiversion(kernel)
+
+##
+## Defining directory which may contain additional multiversion definitions.
+##
+## If the directory exists, each file in this directory is scanned, expecting
+## one valid multiversion list entry per line. Empty lines and lines starting
+## with '#' are ignored.
+## ------------------------- [/etc/zypp/multiversion.d/example file begin] -----------------------
+## # An alternate way to enable kernel packages being
+## # installed in parallel:
+##
+## provides:multiversion(kernel)
+## ------------------------- [/etc/zypp/multiversion.d/example file end] -----------------------
+##
+## Valid values: A directory
+## Default value: {configdir}/multiversion.d
+##
+# multiversiondir = /etc/zypp/multiversion.d
+
+## Comma separated list of kernel packages to keep installed in parallel, if the
+## above multiversion variable is set. Packages can be specified as
+## 2.6.32.12-0.7 - Exact version to keep
+## latest        - Keep kernel with the highest version number
+## latest-N      - Keep kernel with the Nth highest version number
+## running       - Keep the running kernel
+## oldest        - Keep kernel with the lowest version number (the GA kernel)
+## oldest+N      - Keep kernel with the Nth lowest version number
+##
+## Note: This entry is not evaluated by libzypp, but by the
+##       purge-kernels service (via /sbin/purge-kernels).
+##
+## Default: Do not delete any kernels if multiversion = provides:multiversion(kernel) is set
+multiversion.kernels = latest,latest-1,running
 
 ##
 ## Path to locks file. If not exist then is create.
 # locksfile.path = /etc/zypp/locks
 
 ##
-## Whetever to apply locks in locks file after zypp start.
+## Whether to apply locks in locks file after zypp start.
 ##
 ## Valid values: boolean
 ## Default value: true