'\" t .\" Title: aptitude-create-state-bundle .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 08/06/2022 .\" Manual: Command-line reference .\" Source: aptitude-create-state-bundle 0.8.13 .\" Language: English .\" .TH "APTITUDE\-CREATE\-ST" "1" "08/06/2022" "aptitude-create-state-bundle 0" "Command-line reference" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" aptitude-create-state-bundle \- bundle the current aptitude state .SH "SYNOPSIS" .HP \w'\fBaptitude\-create\-state\-bundle\fR\ 'u \fBaptitude\-create\-state\-bundle\fR [<\fIoptions\fR>...] <\fIoutput\-file\fR> .SH "DESCRIPTION" .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br .PP This command is mostly for internal use and bug reporting in exceptional cases, it is not intended for end\-users under normal circumstances\&. .sp .5v .RE .PP \fBaptitude\-create\-state\-bundle\fR 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: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB$HOME\fR/\&.aptitude .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} /var/lib/aptitude .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} /var/lib/apt .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} /var/cache/apt/*\&.bin .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} /etc/apt .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} /var/lib/dpkg/status .RE .PP The output of this program can be used as an argument to \fBaptitude-run-state-bundle\fR(1)\&. .SH "OPTIONS" .PP \fB\-\-force\-bzip2\fR .RS 4 Override the autodetection of which compression algorithm to use\&. By default, \fBaptitude\-create\-state\-bundle\fR uses \fBbzip2\fR(1) if it is available, and \fBgzip\fR(1) otherwise\&. Passing this option forces the use of \fBbzip2\fR even if it doesn\*(Aqt appear to be available\&. .RE .PP \fB\-\-force\-gzip\fR .RS 4 Override the autodetection of which compression algorithm to use\&. By default, \fBaptitude\-create\-state\-bundle\fR uses \fBbzip2\fR(1) if it is available, and \fBgzip\fR(1) otherwise\&. Passing this option forces the use of \fBgzip\fR even if \fBbzip2\fR is available\&. .RE .PP \fB\-\-help\fR .RS 4 Print a brief usage message, then exit\&. .RE .PP \fB\-\-print\-inputs\fR .RS 4 Instead of creating a bundle, display a list of the files and directories that the program would include if it generated a bundle\&. .RE .SH "FILE FORMAT" .PP The bundle file is simply a \fBtar\fR(1) file compressed with \fBbzip2\fR(1) or \fBgzip\fR(1), with each of the input directory trees rooted at \(lq\&.\(rq\&. .SH "SEE ALSO" .PP \fBaptitude-run-state-bundle\fR(1), \fBaptitude\fR(8), \fBapt\fR(8) .SH "AUTHORS" .PP \fBDaniel Burrows\fR <\&dburrows@debian.org\&> .RS 4 Main author of the document. .RE .PP \fBManuel A. Fernandez Montecelo\fR <\&mafm@debian.org\&> .RS 4 Main maintainer after Daniel Burrows, documentation about new features, corrections and formatting. .RE .SH "COPYRIGHT" .br .PP Copyright 2007 Daniel Burrows\&. .PP 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\&. .PP 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\&. .PP 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\&. .sp