aptitude-run-state-bundle — unpack an aptitude state bundle and invoke aptitude on it
aptitude-run-state-bundle
[options
...] input-file
[ program
[arguments
...]]
注記 | |
---|---|
This command is mostly for internal use and bug reporting in exceptional cases, it is not intended for end-users under normal circumstances. |
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-args
Place 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).
--help
Display a brief usage summary.
--prepend-args
Place 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-clean
Do 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 aptitude's 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-clean
Delete the state directory after running aptitude, even
if --no-clean
or --statedir
was
supplied.
--statedir
Instead 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
.
--unpack
Unpack the input file to a temporary directory, but don't actually run aptitude.