File: EnvironmentVariables.doc

package info (click to toggle)
libzypp 17.38.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,744 kB
  • sloc: cpp: 132,661; xml: 2,587; sh: 518; python: 266; makefile: 27
file content (62 lines) | stat: -rw-r--r-- 3,227 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**

\page zypp-envars Environment Variables

\author Michael Andres <ma@suse.de>

\section zypp-envars-intro Environment Variables

<b>Note</b> that for Boolean variables we usually test whether the variable exists and not for the assigned value.

\subsection zypp-envars-config zypp config options

\li \c ZYPP_CONF=<PATH> Location of the zypp.conf file.
\li \c ZYPP_LOCK_TIMEOUT=<sec> If zypp is locked by another process wait this number of seconds for the lock becoming available. A negative value will wait forever.

\subsection zypp-envars-repos Variables related to repositories

\li \c ZYPP_REPO_RELEASEVER=<ver> Overwrite the \c $releasever variable in repository URLs and names (\see zypp::repo::RepoVariablesStringReplacer).

\subsection zypp-envars-commit Variables related to commit

\li \c ZYPP_IS_RUNNING=1 Set during commit so packages pre/post/trigger scripts can detect whether rpm was called from within libzypp.
\li \c ZYPP_SINGLE_RPMTRANS=1 Enable alternative and !!!experimental!!! commit strategy where all rpm operations are executed in a single rpm transaction, which results in much faster commits.

\subsection zypp-envars-logging Variables related to logging

\li \c ZYPP_LOGFILE=<PATH> Location of the logfile to write or \c - for stderr.
\li \c ZYPP_FULLLOG=1 Even more verbose logging (usually not needed).
\li \c ZYPP_LIBSOLV_FULLLOG=1 Verbose logging when resolving dependencies.
\li (\c ZYPP_LIBSAT_FULLLOG=1) deprecated since \c libzypp-10.x, prefer \c ZYPP_LIBSOLV_FULLLOG
\li \c LIBSOLV_DEBUGMASK=<INT> Pass value to libsolv::pool_setdebugmask

\li \c ZYPP_MEDIA_CURL_DEBUG=<1|2> Log http headers, if \c 2 also log server responses.
\li \c ZYPP_MEDIA_CURL_IPRESOLVE=<4|6> Tell curl to resolve names to IPv4/IPv6 addresses only.
\li \c ZYPP_METALINK_DEBUG=1 Log URL and priority of the mirrors parsed from a metalink file.

\li \c ZYPP_RPM_DEBUG=1 Log verbose output from all rpm commands.

\subsection zypp-envars-mediabackend Selecting the mediabackend to use.

\li \c ZYPP_CURL2=<0|1> Switch between Curl and Curl2 media backends, Curl2 is the default.
\li \c ZYPP_PCK_PRELOAD=<0|1> Explicitly turn parallel HTTP package downloads for commit on or off.

\subsection zypp-envars-plugin Variables related to plugins

\li \c ZYPP_PLUGIN_DEBUG=1 Verbose logging from plugin framework.
\li \c ZYPP_PLUGIN_TIMEOUT=<sec> Send/receive timeout for plugin communication.
\li \c ZYPP_PLUGIN_SEND_TIMEOUT=<sec> Send timeout for plugin communication.
\li \c ZYPP_PLUGIN_RECEIVE_TIMEOUT=<sec> Receive timeout for plugin communication.

\li \c ZYPP_PLUGIN_APPDATA_FORCE_COLLECT=1 Make RepoManager trigger the appdata collector plugin unconditionally. Can be used with \c 'zypper \c lr' (as root) to trigger an initial collect rather than calling \c 'zypper \c ref \c -f' or waiting for some repo to be refreshed.

\subsection zypp-envars-misc Variables not for common use (test and debug)

\li \c ZYPP_MODALIAS_SYSFS=<PATH> Use this instead of \c /sys to evaluate modaliases.
\li \c ZYPP_COMMIT_NO_PACKAGE_CACHE=1
\li \c ZYPP_TESTSUITE_FAKE_ARCH Never use this!
\li \c ZYPPTMPDIR=<PATH>
\li \c ZYPP_LOCKFILE_ROOT=<PATH> Hack to circumvent the currently poor --root support.
\li \c ZYPP_PROFILING=1

*/