aptitude-run-state-bundle - unpack an aptitude state bundle and invoke aptitude on it
aptitude-run-state-bundle [<options>...] <input-file> [<program> [<arguments>...]]
aptitude-run-state-bundle unpacks the given aptitude state bundle created by aptitude-create-state-bundle(1) to a temporary directory, invokes <program> on it with the supplied <arguments>, and removes the temporary directory afterwards. If <program> is not supplied, it defaults to aptitude(8).
The following options may occur on the command-line before the input file. Options following the input file are presumed to be arguments to aptitude.
--append-argsPlace the options that give the location of the state bundle at the end of the command line when invoking <program>, rather than at the beginning (the default is to place options at the beginning).
--helpDisplay a brief usage summary.
--prepend-argsPlace the options that give the location of the state bundle at the beginning of the command line when invoking <program>, overriding any previous --append-args (the default is to place options at the beginning).
--no-cleanDo not remove the unpacked state directory after running aptitude. You might want to use this if, for instance, you are debugging a problem that appears when aptitudes state file is modified. When aptitude finishes running, the name of the state directory will be printed so that you can access it in the future.
This option is enabled automatically by --statedir.
--really-cleanDelete the state directory after running aptitude, even if --no-clean or --statedir was supplied.
--statedirInstead of treating the input file as a state bundle, treat it as an unpacked state bundle. For instance, you can use this to access the state directory that was created by a prior run with --no-clean.
--unpackUnpack the input file to a temporary directory, but dont actually run aptitude.
aptitude-create-state-bundle(1), aptitude(8), apt(8)
Daniel Burrows <firstname.lastname@example.org>Author.
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.
|aptitude-run-state-bundle 0.6.||APTITUDE-RUN-STATE (1)||11/05/2012|