1 ## Configuration file for software management
4 ## Boolean values are 0 1 yes no on off true false
11 ## Override the detected architecture
13 ## Valid values: i586, i686, x86_64, ppc, ppc64, ia64, s390, s390x, ..
14 ## Default value: Autodetected
16 ## ** CAUTION: Only set if you know what you're doing !
17 ## ** Changing this needs a full refresh (incl. download)
18 ## ** of all repository data.
24 ## Path where the caches are kept.
26 ## Valid values: A directory
27 ## Default value: /var/cache/zypp
29 # cachedir = /var/cache/zypp
33 ## Path where the repo metadata is downloaded and kept.
35 ## Valid values: A directory
36 ## Default value: {cachedir}/raw
38 ## Changing this needs a full refresh (incl. download) of all repository data
40 # metadatadir = /var/cache/zypp/raw
44 ## Path where the repo solv files are created and kept.
46 ## Valid values: A directory
47 ## Default value: {cachedir}/solv
49 # solvfilesdir = /var/cache/zypp/solv
53 ## Path where the repo packages are downloaded and kept.
55 ## Valid values: A directory
56 ## Default value: {cachedir}/packages
58 # packagesdir = /var/cache/zypp/packages
62 ## Path where the configuration files are kept.
64 ## Valid values: A directory
65 ## Default value: /etc/zypp
67 # configdir = /etc/zypp
70 ## Path where the known repositories .repo files are kept
72 ## Valid values: A directory
73 ## Default value: {configdir}/repos.d
75 ## Changing this invalidates all known repositories
77 # reposdir = /etc/zypp/repos.d
80 ## Path where the known services .service files are kept
82 ## Valid values: A directory
83 ## Default value: {configdir}/services.d
85 ## Changing this invalidates all known services
87 # servicesdir = /etc/zypp/services.d
91 ## Whether repository urls should be probed when added
93 ## Valid values: boolean
94 ## Default value: false
96 ## If true, accessability of repositories is checked immediately (when added)
97 ## (e.g. 'zypper ar' will check immediately)
98 ## If false, accessability of repositories is checked when refreshed
99 ## (e.g. 'zypper ar' will delay the check until the next refresh)
101 # repo.add.probe = false
105 ## Amount of time in minutes that must pass before another refresh.
107 ## Valid values: Integer
110 ## If you have autorefresh enabled for a repository, it is checked for
111 ## up-to-date metadata not more often than every <repo.refresh.delay>
112 ## minutes. If an automatic request for refresh comes before <repo.refresh.delay>
113 ## minutes passed since the last check, the request is ignored.
115 ## A value of 0 means the repository will always be checked. To get the oposite
116 ## effect, disable autorefresh for your repositories.
118 ## This option has no effect for repositories with autorefresh disabled, nor for
119 ## user-requested refresh.
121 # repo.refresh.delay = 10
124 ## Translated package descriptions to download from repos.
126 ## A list of locales for which translated package descriptions should
127 ## be downloaded, in case they are availavble and the repo supports this.
128 ## Not all repo formats support downloading specific translations only.
130 ## Valid values: List of locales like 'en', 'en_US'...
131 ## Default value: RequestedLocales
133 ## If data for a specific locale are not available, we try to find some
134 ## fallback. Translations for 'en' are always downloaded.
136 # repo.refresh.locales = en, de
139 ## Maximum number of concurrent connections to use per transfer
141 ## Valid values: Integer
144 ## This setting is only used if more than one is possible
145 ## Setting it to a reasonable number avoids flooding servers
147 # download.max_concurrent_connections = 5
150 ## Sets the minimum download speed (bytes per second)
151 ## until the connection is dropped
152 ## This can be useful to prevent security attacks on hosts by
153 ## providing updates at very low speeds.
157 # download.min_download_speed = 0
159 ## Maximum download speed (bytes per second)
161 # download.max_download_speed = 0
163 ## Number of tries per download which will be
164 ## done without user interaction
165 ## 0 means no limit (use with caution)
166 # download.max_silent_tries = 5
169 ## Maximum time in seconds that you allow a transfer operation to take.
171 ## This is useful for preventing your batch jobs from hanging for hours due
172 ## to slow networks or links going down. Limiting operations to less than a
173 ## few minutes risk aborting perfectly normal operations.
175 ## Valid values: [0,3600]
176 ## Default value: 180
178 # download.transfer_timeout = 180
181 ## Whether to consider using a .delta.rpm when downloading a package
183 ## Valid values: boolean
184 ## Default value: true
186 ## Using a delta rpm will decrease the download size for package updates
187 ## since it does not contain all files of the package but only the binary
188 ## diff of changed ones. Recreating the rpm package on the local machine
189 ## is an expensive operation (memory,CPU). If your network connection is
190 ## not too slow, you benefit from disabling .delta.rpm.
192 # download.use_deltarpm = true
195 ## Whether to consider using a deltarpm even when rpm is local
197 ## Valid values: boolean
198 ## Default value: false
200 ## This option has no effect unless download.use_deltarpm is set true.
202 # download.use_deltarpm.always = false
205 ## Hint which media to prefer when installing packages (download vs. CD).
207 ## Valid values: download, volatile
208 ## Default value: download
210 ## Note that this just a hint. First of all the solver will choose the 'best'
211 ## package according to its repos priority, version and architecture. But if
212 ## there is a choice, we will prefer packages from the desired media.
214 ## Packages available locally are always preferred. The question is whether
215 ## you prefer packages being downloaded via FTP/HTTP/HTTPS (download), rather
216 ## than being prompted to insert a CD/DVD (volatile), in case they are available
219 ## Name | Priority | URI
220 ## openSUSE-11.1 99 dvd:///
221 ## openSUSE-11.1-Oss 99 http://download.opensuse.org/distribution/11.1/repo/oss
223 ## In the above example 2 repositories with similar content are used. Rather
224 ## than raising the priority of one of them to 'prefer' a certain media, you
225 ## should use the same priority for both and set download.media_preference
228 ## download.media_preference = download
231 ## Signature checking (repodata and rpm packages)
233 ## boolean gpgcheck (default: on)
234 ## boolean repo_gpgcheck (default: unset -> according to gpgcheck)
235 ## boolean pkg_gpgcheck (default: unset -> according to gpgcheck)
237 ## If 'gpgcheck' is 'on' we will either check the signature of repo metadata
238 ## (packages are secured via checksum in the metadata), or the signature of
239 ## an rpm package to install if it's repo metadata are not signed or not
242 ## The default behavior can be altered by explicitly setting 'repo_gpgcheck' and/or
243 ## 'pkg_gpgcheck' to perform those checks always (if 'on') or never (if 'off').
245 ## Explicitly setting 'gpgcheck', 'repo_gpgcheck' 'pkg_gpgcheck' in a
246 ## repositories .repo file will overwrite the defaults here.
248 ## DISABLING GPG CHECKS IS NOT RECOMMENDED.
249 ## Signing data enables the recipient to verify that no modifications
250 ## occurred after the data were signed. Accepting data with no, wrong
251 ## or unknown signature can lead to a corrupted system and in extreme
252 ## cases even to a system compromise.
254 # repo_gpgcheck = unset -> according to gpgcheck
255 # pkg_gpgcheck = unset -> according to gpgcheck
258 ## Commit download policy to use as default.
260 ## DownloadOnly, Just download all packages to the local cache.
261 ## Do not install. Implies a dry-run.
263 ## DownloadInAdvance, First download all packages to the local cache.
264 ## Then start to install.
266 ## DownloadInHeaps, Similar to DownloadInAdvance, but try to split
267 ## the transaction into heaps, where at the end of
268 ## each heap a consistent system state is reached.
270 ## DownloadAsNeeded Alternating download and install. Packages are
271 ## cached just to avid CD/DVD hopping. This is the
272 ## traditional behaviour.
274 ## <UNSET> If a value is not set, empty or unknown, we pick
275 ## some sane default.
277 ## commit.downloadMode =
280 ## Defining directory which contains vendor description files.
282 ## One file in this directory reflects a group of equivalent vendors. e.G.:
283 ## (filename is "nvidia" but could be any other name):
284 ## ------------------------- file contains begin -----------------------
287 ## vendors = nvidia,suse,opensuse
289 ## ------------------------- file contains end -----------------------
290 ## Libzypp makes an string comparision (like strncmp, case-insensitive)
291 ## whereas the beginning of the strings are compared only.
292 ## e.G. vendor "opensuse11.0" is compatible to "openSuSE".
294 ## Valid values: A directory
295 ## Default value: {configdir}/vendors.d
297 # vendordir = /etc/zypp/vendors.d
301 ## Whether required packages are installed ONLY
302 ## So recommended packages, language packages and packages which depend
303 ## on hardware (modalias) will not be regarded.
305 ## Valid values: boolean
306 ## Default value: false
308 # solver.onlyRequires = false
311 ## EXPERTS ONLY: Per default the solver will not replace packages of
312 ## different vendors, unless you explicitly ask to do so. Setting this
313 ## option to TRUE will disable this vendor check (unless the application
314 ## explicitly re-enables it). Packages will then be considered based on
315 ## repository priority and version only. This may easily damage your system.
317 ## CHANGING THE DEFAULT IS NOT RECOMMENDED.
319 ## Valid values: boolean
320 ## Default value: false
322 # solver.allowVendorChange = false
325 ## EXPERTS ONLY: Cleanup when deleting packages. Whether the solver should
326 ## per default try to remove packages exclusively required by the ones he's
329 ## This option should be used on a case by case basis, enabled via
330 ## command line options or switches the applications offer. Changing
331 ## the global default on a system where unattended actions are performed,
332 ## may easily damage your system.
334 ## CHANGING THE DEFAULT IS NOT RECOMMENDED.
336 ## Valid values: boolean
337 ## Default value: false
339 # solver.cleandepsOnRemove = false
342 ## This file contains requirements/conflicts which fulfill the
343 ## needs of a running system.
344 ## For example the system would be broken if not glibc or kernel is
346 ## So the user will be informed if these packages will be deleted.
348 ## Format: Each line represents one dependency:
352 ## Default value: {configdir}/systemCheck
354 # solver.checkSystemFile = /etc/zypp/systemCheck
357 ## When committing a dist upgrade (e.g. 'zypper dup') a solver testcase
358 ## is written to /var/log/updateTestcase-<date>. It is needed in bugreports.
359 ## This option returns the number of testcases to keep on the system. Old
360 ## cases will be deleted, as new ones are created.
362 ## Use 0 to write no testcase at all, or -1 to keep all testcases.
364 ## Valid values: Integer
367 # solver.upgradeTestcasesToKeep = 2
370 ## Whether dist upgrade should remove a products dropped packages.
372 ## A new product may suggest a list of old and no longer supported
373 ## packages (dropped packages). Performing a dist upgrade the solver
374 ## may try to delete them, even if they do not cause any dependency
377 ## Turning this option off, the solver will not try to remove those
378 ## packages unless they actually do cause dependency trouble. You may
379 ## do the cleanup manually, or simply leave them installed as long
380 ## as you don't need the disk space.
382 ## Valid values: Boolean
383 ## Default value: true
385 # solver.upgradeRemoveDroppedPackages = true
388 ## Packages which can be installed in different versions at the same time.
390 ## Packages are selected either by name, or by provides. In the later case
391 ## the string must start with "provides:" immediately followed by the capability.
394 ## kernel - just packages whith name 'kernel'
395 ## provides:multiversion(kernel) - all packages providing 'multiversion(kernel)'
396 ## (kenel and kmp packages should do this)
398 ## Comma separated list of packages.
403 multiversion = provides:multiversion(kernel)
406 ## Defining directory which may contain additional multiversion definitions.
408 ## If the directory exists, each file in this directory is scanned, expecting
409 ## one valid multiversion list entry per line. Empty lines and lines starting
410 ## with '#' are ignored.
411 ## ------------------------- [/etc/zypp/multiversion.d/example file begin] -----------------------
412 ## # An alternate way to enable kernel packages being
413 ## # installed in parallel:
415 ## provides:multiversion(kernel)
416 ## ------------------------- [/etc/zypp/multiversion.d/example file end] -----------------------
418 ## Valid values: A directory
419 ## Default value: {configdir}/multiversion.d
421 # multiversiondir = /etc/zypp/multiversion.d
423 ## Comma separated list of kernel packages to keep installed in parallel, if the
424 ## above multiversion variable is set. Packages can be specified as
425 ## 2.6.32.12-0.7 - Exact version to keep
426 ## latest - Keep kernel with the highest version number
427 ## latest-N - Keep kernel with the Nth highest version number
428 ## running - Keep the running kernel
429 ## oldest - Keep kernel with the lowest version number (the GA kernel)
430 ## oldest+N - Keep kernel with the Nth lowest version number
432 ## Note: This entry is not evaluated by libzypp, but by the
433 ## purge-kernels service (via /sbin/purge-kernels).
435 ## Default: Do not delete any kernels if multiversion = provides:multiversion(kernel) is set
436 multiversion.kernels = latest,latest-1,running
439 ## Path to locks file. If not exist then is create.
440 ## In this file is saved also UI locks.
442 ## valid value: path to file or place where file can be created
443 ## default value: {configdir}/locks
445 # locksfile.path = /etc/zypp/locks
448 ## Whether to apply locks in locks file after zypp start.
450 ## Valid values: boolean
451 ## Default value: true
453 # locksfile.apply = true
456 ## Where update items are stored
457 ## (example: scripts, messages)
459 ## Valid values: path to directory
460 ## Default value: /var/adm
462 # update.datadir = /var/adm
465 ## Where update messages are stored
467 ## Valid values: path to directory
468 ## Default value: {update.datadir}/update-messages
470 # update.messagesdir = /var/adm/update-messages
473 ## Where update scripts are stored
475 ## Valid values: path to directory
476 ## Default value: {update.datadir}/update-scripts
478 # update.scriptsdir = /var/adm/update-scripts
481 ## Command to be invoked to send update messages.
483 ## Packages may leave an update message file in {update.messagesdir}.
484 ## At the end of each commit, zypp collects those messages and may send
485 ## a notification to the user.
487 ## zypp will prepare the update messages according to the selected
488 ## content format and pipe the content to the command.
491 ## single - For each update message invoke the command and send
493 ## none - For each update message invoke the command but don't
494 ## use a pipe to send any data. You probably want to pass
495 ## the message file on the commandline using %P (see
497 ## digest - Single invocation of the command, sending the path
498 ## names of all update message. One per line.
499 ## bulk - Single invocation of the command, sending the
500 ## concatenated content of all update messages, separated
504 ## %p - package identification (name-version-release.arch)
505 ## %P - full path to the update message file
507 ## Valid values: The value is specified as "format | command".
508 ## An empty value will turn off any notification.
510 ## Examples: single | mail -s 'Update message from %p' root
511 ## none | my-send-script -f %P
513 ## Default value: single | /usr/lib/zypp/notify-message -p %p
515 # update.messages.notify = single | /usr/lib/zypp/notify-message -p %p
518 ## Options for package installation: excludedocs
520 ## Don't install any files which are marked as documentation.
522 ## Valid values: boolean
525 # rpm.install.excludedocs = no
528 ## Location of history log file.
530 ## The history log is described at
531 ## http://en.opensuse.org/Libzypp/Package_History
533 ## Valid values: absolute path to a file
534 ## Default value: /var/log/zypp/history
536 # history.logfile = /var/log/zypp/history
539 ## Global credentials directory path.
541 ## If a URL contains ?credentials=<filename> parameter, the credentials will
542 ## be stored and looked for in a file named <filename> in this directory.
544 ## Valid values: absolute path to a directory
545 ## Default value: /etc/zypp/credentials.d
547 # credentials.global.dir = /etc/zypp/credentials.d
550 ## Global credentials catalog file path.
552 ## This file contains a catalog of all known user credentials which were
553 ## not stored via the ?credentials=<filename> URL parameter, i.e. passed
554 ## in URL as username:password component, or entered by user in
555 ## an authentication dialog.
557 ## Valid values: absolute path to a file
558 ## Default value: /etc/zypp/credentials.cat
560 # credentials.global.file = /etc/zypp/credentials.cat