aptitude-create-state-bundle(1)

aptitude-create-state-bundle1

Bundle the current aptitude state

Usage

aptitude-create-state-bundle [<options> ...] <output-file>

Overview

Note

This command is mostly for internal use and bug reporting in exceptional cases, it is not intended for end-users under normal circumstances.

aptitude-create-state-bundle produces a compressed archive storing the files that are required to replicate the current package archive state. The following files and directories are included in the bundle:

• $HOME/.aptitude

• /var/lib/aptitude

• /var/lib/apt

• /var/cache/apt/*.bin

• /etc/apt

• /var/lib/dpkg/status

The output of this program can be used as an argument to aptitude-run-state-bundle(1).

Options

--force-bzip2

Override the autodetection of which compression algorithm to use. By default, aptitude-create-state-bundle uses bzip2(1) if it is available, and gzip(1) otherwise. Passing this option forces the use of bzip2 even if it doesn't appear to be available.

--force-gzip

Override the autodetection of which compression algorithm to use. By default, aptitude-create-state-bundle uses bzip2(1) if it is available, and gzip(1) otherwise. Passing this option forces the use of gzip even if bzip2 is available.

--help

Print a brief usage message, then exit.

--print-inputs

Instead of creating a bundle, display a list of the files and directories that the program would include if it generated a bundle.

File format

The bundle file is simply a tar(1) file compressed with bzip2(1) or gzip(1), with each of the input directory trees rooted at “.”.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

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

Authors

Daniel Burrows <[email protected]>

Main author of the document.

Manuel A. Fernandez Montecelo <[email protected]>

Main maintainer after Daniel Burrows, documentation about new features, corrections and formatting.

From aptitude-common 0.8.13-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.