<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libzypp: Environment Variables</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('zypp-envars.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="PageDoc"><div class="header"> <div class="headertitle"> <div class="title">Environment Variables </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><dl class="section author"><dt>Author</dt><dd>Michael Andres <a href="#" onclick="location.href='mai'+'lto:'+'ma@'+'su'+'se.'+'de'; return false;">ma@su<span style="display: none;">.nosp@m.</span>se.d<span style="display: none;">.nosp@m.</span>e</a></dd></dl> <h1><a class="anchor" id="zypp-envars-intro"></a> Environment Variables</h1> <p><b>Note</b> that for Boolean variables we usually test whether the variable exists and not for the assigned value.</p> <h2><a class="anchor" id="zypp-envars-config"></a> zypp config options</h2> <ul> <li><code>ZYPP_CONF=</code> <PATH> Location of the zypp.conf file. </li> <li><code>ZYPP_LOCK_TIMEOUT=</code> <sec> If zypp is locked by another process wait this number of seconds for the lock becoming available.</li> </ul> <h2><a class="anchor" id="zypp-envars-repos"></a> Variables related to repositories</h2> <ul> <li><code>ZYPP_REPO_RELEASEVER=</code> <ver> Overwrite the <code>$releasever</code> variable in repository URLs and names (<dl class="section see"><dt>See also</dt><dd><a class="el" href="structzypp_1_1repo_1_1RepoVariablesStringReplacer.html" title="Functor replacing repository variables.">zypp::repo::RepoVariablesStringReplacer</a>).</dd></dl> </li> </ul> <h2><a class="anchor" id="zypp-envars-commit"></a> Variables related to commit</h2> <ul> <li><code>ZYPP_IS_RUNNING=1</code> Set during commit so packages pre/post/trigger scripts can detect whether rpm was called from within libzypp.</li> </ul> <h2><a class="anchor" id="zypp-envars-logging"></a> Variables related to logging</h2> <ul> <li><code>ZYPP_LOGFILE=</code> <PATH> Location of the logfile to write or <code>-</code> for stderr. </li> <li><code>ZYPP_FULLLOG=1</code> Even more verbose logging (usually not needed). </li> <li><code>ZYPP_LIBSOLV_FULLLOG=1</code> Verbose logging when resolving dependencies. </li> <li>(<code>ZYPP_LIBSAT_FULLLOG=1</code>) deprecated since <code>libzypp-10.x</code>, prefer <code>ZYPP_LIBSOLV_FULLLOG</code> </li> <li><code>LIBSOLV_DEBUGMASK=</code> <INT> Pass value to libsolv::pool_setdebugmask</li> </ul> <ul> <li><code>ZYPP_MEDIA_CURL_DEBUG=<1|2></code> Log http headers, if <code>2</code> also log server responses. </li> <li><code>ZYPP_MEDIA_CURL_IPRESOLVE=<4|6></code> Tell curl to resolve names to IPv4/IPv6 addresses only.</li> </ul> <h2><a class="anchor" id="zypp-envars-mediabackend"></a> Selecting the mediabackend to use.</h2> <ul> <li><code>ZYPP_MULTICURL=0</code> Turn off multicurl (metalink and zsync) and fall back to plain libcurl.</li> </ul> <h2><a class="anchor" id="zypp-envars-plugin"></a> Variables related to plugins</h2> <ul> <li><code>ZYPP_PLUGIN_DEBUG=1</code> Verbose logging from plugin framework. </li> <li><code>ZYPP_PLUGIN_TIMEOUT=</code> <sec> Send/receive timeout for plugin communication. </li> <li><code>ZYPP_PLUGIN_SEND_TIMEOUT=</code> <sec> Send timeout for plugin communication. </li> <li><code>ZYPP_PLUGIN_RECEIVE_TIMEOUT=</code> <sec> Receive timeout for plugin communication.</li> </ul> <ul> <li><code>ZYPP_PLUGIN_APPDATA_FORCE_COLLECT=1</code> Make RepoManager trigger the appdata collector plugin unconditionally. Can be used with <code>'zypper</code> <code>lr'</code> (as root) to trigger an initial collect rather than calling <code>'zypper</code> <code>ref</code> <code>-f'</code> or waiting for some repo to be refreshed.</li> </ul> <h2><a class="anchor" id="zypp-envars-misc"></a> Variables not for common use (test and debug)</h2> <ul> <li><code>ZYPP_MODALIAS_SYSFS=</code> <PATH> Use this instead of <code>/sys</code> to evaluate modaliases. </li> <li><code>ZYPP_COMMIT_NO_PACKAGE_CACHE=1</code> </li> <li><code>ZYPP_TESTSUITE_FAKE_ARCH</code> Never use this! </li> <li><code>ZYPPTMPDIR=</code> <PATH> </li> <li><code>ZYPP_LOCKFILE_ROOT=</code> <PATH> Hack to circumvent the currently poor –root support. </li> <li><code>ZYPP_PROFILING=1</code> </li> </ul> </div></div><!-- PageDoc --> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>