libzypp  13.10.6
Environment Variables
Author
Michael Andres ma@su.nosp@m.se.d.nosp@m.e

Environment Variables

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

zypp config options

  • ZYPP_CONF= <PATH> Location of the zypp.conf file.
  • ZYPP_LOCK_TIMEOUT= <sec> If zypp is locked by another process wait this number of seconds for the lock becoming available.

Variables related to commit

  • ZYPP_IS_RUNNING=1 Set during commit so packages pre/post/trigger scripts can detect whether rpm was called from within libzypp.

Variables related to logging

  • ZYPP_LOGFILE= <PATH> Location of the logfile to write or - for stderr.
  • ZYPP_FULLLOG=1 Even more verbose logging (usually not needed).
  • ZYPP_LIBSOLV_FULLLOG=1 Verbose logging when resolving dependencies.
  • (ZYPP_LIBSAT_FULLLOG=1) deprecated since libzypp-10.x, prefer ZYPP_LIBSOLV_FULLLOG
  • ZYPP_MEDIA_CURL_DEBUG=<1|2> Log http headers, if 2 also log server responses.

Selecting the mediabackend to use.

  • ZYPP_MULTICURL=0 Turn off multicurl (metalink and zsync) and fall back to plain libcurl.

Variables related to plugins

  • PLUGIN_DEBUG=1 Verbose logging from plugin framework.
  • PLUGIN_TIMEOUT= <sec> Send/receive timeout for plugin communication.
  • PLUGIN_SEND_TIMEOUT= <sec> Send timeout for plugin communication.
  • PLUGIN_RECEIVE_TIMEOUT= <sec> Receive timeout for plugin communication.

Variables not for common use (test and debug)

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