aptitude-create-state-bundle

NAME

aptitude-create-state-bundle - bundle the current aptitude state

SYNOPSIS

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

DESCRIPTION

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
Display a list of the input files and directories, then exit. This list is guaranteed to be up-to-date.

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 ..

SEE ALSO

aptitude-run-state-bundle(1), aptitude(8), apt(8)

AUTHOR

Daniel Burrows <dburrows@debian.org>

COPYRIGHT

Copyright 2007 Daniel Burrows. aptitude-create-state-bundle and its manpage may be copied, modified, and redistributed in any manner whatsoever.