1. NAME

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

2. SYNOPSIS

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

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


    .ie n \ \h'-04'\h'+03'\c .

2.3 . $HOME/.aptitude


    .ie n \ \h'-04'\h'+03'\c .

2.3 . /var/lib/aptitude


    .ie n \ \h'-04'\h'+03'\c .

2.3 . /var/lib/apt


    .ie n \ \h'-04'\h'+03'\c .

2.3 . /var/cache/apt/*.bin


    .ie n \ \h'-04'\h'+03'\c .

2.3 . /etc/apt


    .ie n \ \h'-04'\h'+03'\c .

2.3 . /var/lib/dpkg/status

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

4. 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\*(Aqt 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.

5. 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 « . ».

6. SEE ALSO

7. AUTHOR

Daniel Burrows <>
    Author.

8. COPYRIGHT


Copyright 2007 Daniel Burrows.

This manual page is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This manual page is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.