3 \page zypp-envars Environment Variables
5 \author Michael Andres <ma@suse.de>
7 \section zypp-envars-intro Environment Variables
9 <b>Note</b> that for Boolean variables we usually test whether the variable exists and not for the assigned value.
11 \subsection zypp-envars-config zypp config options
13 \li \c ZYPP_CONF=<PATH> Location of the zypp.conf file.
14 \li \c ZYPP_LOCK_TIMEOUT=<sec> If zypp is locked by another process wait this number of seconds for the lock becoming available.
16 \subsection zypp-envars-repos Variables related to repositories
18 \li \c ZYPP_REPO_RELEASEVER=<ver> Overwrite the \c $releasever variable in repository URLs and names (\see zypp::repo::RepoVariablesStringReplacer).
20 \subsection zypp-envars-commit Variables related to commit
22 \li \c ZYPP_IS_RUNNING=1 Set during commit so packages pre/post/trigger scripts can detect whether rpm was called from within libzypp.
24 \subsection zypp-envars-logging Variables related to logging
26 \li \c ZYPP_LOGFILE=<PATH> Location of the logfile to write or \c - for stderr.
27 \li \c ZYPP_FULLLOG=1 Even more verbose logging (usually not needed).
28 \li \c ZYPP_LIBSOLV_FULLLOG=1 Verbose logging when resolving dependencies.
29 \li (\c ZYPP_LIBSAT_FULLLOG=1) deprecated since \c libzypp-10.x, prefer \c ZYPP_LIBSOLV_FULLLOG
30 \li \c LIBSOLV_DEBUGMASK=<INT> Pass value to libsolv::pool_setdebugmask
32 \li \c ZYPP_MEDIA_CURL_DEBUG=<1|2> Log http headers, if \c 2 also log server responses.
34 \subsection zypp-envars-mediabackend Selecting the mediabackend to use.
36 \li \c ZYPP_MULTICURL=0 Turn off multicurl (metalink and zsync) and fall back to plain libcurl.
38 \subsection zypp-envars-plugin Variables related to plugins
40 \li \c PLUGIN_DEBUG=1 Verbose logging from plugin framework.
41 \li \c PLUGIN_TIMEOUT=<sec> Send/receive timeout for plugin communication.
42 \li \c PLUGIN_SEND_TIMEOUT=<sec> Send timeout for plugin communication.
43 \li \c PLUGIN_RECEIVE_TIMEOUT=<sec> Receive timeout for plugin communication.
45 \subsection zypp-envars-misc Variables not for common use (test and debug)
47 \li \c ZYPP_MODALIAS_SYSFS=<PATH> Use this instead of \c /sys to evaluate modaliases.
48 \li \c ZYPP_COMMIT_NO_PACKAGE_CACHE=1
49 \li \c ZYPP_TESTSUITE_FAKE_ARCH Never use this!
50 \li \c ZYPPTMPDIR=<PATH>
51 \li \c ZYPP_LOCKFILE_ROOT=<PATH> Hack to circumvent the currently poor --root support.
52 \li \c ZYPP_PROFILING=1