install_packages(8)

install_packages8

Install fai configured packages

Usage

install_packages

Overview

This command is only called internally by FAI and not directly by the user.

install_packages is a Perl script written for FAI to selectively install, hold, remove, or purge packages or tasks. Its function is to parse the package_config files based on the class definitions of the client. For example, if the client belonged to the SMTPSERVER class, install_packages would parse ../package_config/SMTPSERVER for instructions on what packages to install, hold, remove, or purge.

Options

-d

Only download packages instead of installing them. Variable $aptoptions must be set.

-h

Show help, version and summary of options.

-H

Show list of all available commands for the file in package_config.

-l

Print only the list of all packages that would be installed, then exit.

-L

Print the list of all packages with version number that would be installed, then exit.

-m MAX

Install only MAX packages at a time. Same as setting the shell environment variable MAXPACKAGES.

-n

Dry run. Do not execute installation commands, just print them.

-N

Do not check package names whether they are valid and remove unknown packages from the list. You can also set the variable FAI_DISABLE_PACKAGE_NAME_CHECK to 1.

-p DIRECTORY

Read the configuration files from DIRECTORY instead of $FAI/packages_config.

-s

Download source of binary packages that are installed. Currently supported only for apt-get/aptitude based installations.

-v

Be verbose.

Notes

install_packages expects to find the FAI_ROOT directory, the location of class definitions, package configurations, and custom install scripts, somewhere in the filesystem.

Files

/srv/fai/config/package_config/

The FAI package configuration directory.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 7 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–7
  5. 8
  6. 9
  7. 10–11
  8. 12–13

-H since Debian 5.0 (Lenny); -N since Debian 5.0 (Lenny); -n since Debian 5.0 (Lenny); -p since Debian 5.0 (Lenny); -s since Debian 6.0 (Squeeze).

-t until Debian 4.0 (Etch).

Author

Thomas Lange <[email protected]>

From fai-client 6.4.3 in Debian 13 (Trixie). Parsed by carta from the page's man source.