Various environment variables can be set to see how a package will interact with a particular user environment.
Table 4.2. Installation Environment Variables
Name | Description | Value Type | REQ? | Example |
---|---|---|---|---|
DEBUGLEVEL |
Sets the debug level to which autopackage responds. When DEBUGLEVEL is >= 3, all trace messages are echoed to ttyfe and debug logfile. When DEBUGLEVEL is == 2, only warning messages are echoed to ttyfe and debug logfile. |
numeric | No | 3 |
AUTOPACKAGE_DEBUG_LOGFILE |
Forces the logfile to be written to a particular filename. When DEBUGLEVEL=3, a debug (trace) logfile will be written. |
string | No |
Default value: ./autopackage.log
|
AUTOPACKAGE_TERMINAL_DEBUG |
Forces debug (trace) output to be written to the console as well AUTOPACKAGE_DEBUG_LOGFILE. This is off by default because writing to the console has caused packages to mysteriously hang while installing. |
numeric | No | 1 |
AUTOPACKAGE_DISTRIBUTION_CODENAME |
Forces the autopackage support code to action for a particular distribution codename. |
string | No |
Community Yarrow |
AUTOPACKAGE_DISTRIBUTION_DEPSOLVER |
Forces the autopackage support code to action for a particular distribution package dependency resolution manager. |
string | No |
urpmi apt-get |
AUTOPACKAGE_DISTRIBUTION_DESCRIPTION |
Forces the autopackage support code to action for a particular distribution description. |
string | No |
Mandrakelinux Fedora Core |
AUTOPACKAGE_DISTRIBUTION_FRONTEND |
Forces the autopackage support code to action for a particular distribution package frontend manager. |
string | No |
gurpmi synaptic |
AUTOPACKAGE_DISTRIBUTION_MANAGER |
Forces the autopackage support code to action for a particular distribution package manager. |
string | No |
rpm dpkg |
AUTOPACKAGE_DISTRIBUTION_RELEASE |
Forces the autopackage support code to action for a particular distribution release number. |
numeric | No |
10.1 3 |
AUTOPACKAGE_DISTRIBUTION_TEXT |
Forces the autopackage support code to action for a particular distribution. This will override the existence of the distribution release file and the lsb release file. |
string | No |
Mandrakelinux release 10.1 (Community) for i586 Fedora Core release 1 (Yarrow) |
AUTOPACKAGE_DUMP_VARIABLES |
When displaying all environment variables, include the listed variables in the display. Use _dumpPackageEnvironment function to display environment variables. |
string | No | _dumpPackageEnvironment $meta_dir $working_dir |
AUTOPACKAGE_FRONTEND |
Force the installation to use a particular front end. |
string | No |
autopackage-frontend-gtk apkg-ttyfe |
AUTOPACKAGE_LANGUAGE |
Force the installation to use a particular localized package language. This can be a list or a single entry. |
string | No |
fr_CA fr de fr en |
AUTOPACKAGE_LSB_VERSION |
Forces autopackage to action for a particular distribution lsb version. |
numeric | No | 2.0 |
AUTOPACKAGE_NOCOLORS |
When equalling 1, forces ttyfe output to not contain beautifying colors. |
numeric | No | 0 |
AUTOPACKAGE_PACKAGE_LIST_FORMAT |
Force package list output to be a particular format. |
string | No |
|
AUTOPACKAGE_LANGUAGE |
Force the installation to use a particular localized package language. This can be a list or a single entry. |
string | No |
fr_CA fr de fr en |
AUTOPACKAGE_SKELETON_DIRS |
Forces the autopackage to search in these directories in their listed order for skeleton files. |
string | No |