{
    "mode": "man",
    "parameter": "aptitude-create-state-bundle",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/aptitude-create-state-bundle/1/json",
    "generated": "2026-10-20T07:55:36Z",
    "synopsis": "aptitude-create-state-bundle [<options>...] <output-file>",
    "sections": {
        "NAME": {
            "content": "aptitude-create-state-bundle - bundle the current aptitude state\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "aptitude-create-state-bundle [<options>...] <output-file>\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Note\n\nThis command is mostly for internal use and bug reporting in exceptional cases, it is not\nintended for end-users under normal circumstances.\n\naptitude-create-state-bundle produces a compressed archive storing the files that are\nrequired to replicate the current package archive state. The following files and directories\nare included in the bundle:\n\n•   $HOME/.aptitude\n\n•   /var/lib/aptitude\n\n•   /var/lib/apt\n\n•   /var/cache/apt/*.bin\n\n•   /etc/apt\n\n•   /var/lib/dpkg/status\n\nThe output of this program can be used as an argument to aptitude-run-state-bundle(1).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--force-bzip2",
                    "content": "Override the autodetection of which compression algorithm to use. By default,\naptitude-create-state-bundle uses bzip2(1) if it is available, and gzip(1) otherwise.\nPassing this option forces the use of bzip2 even if it doesn't appear to be available.\n",
                    "long": "--force-bzip2"
                },
                {
                    "name": "--force-gzip",
                    "content": "Override the autodetection of which compression algorithm to use. By default,\naptitude-create-state-bundle uses bzip2(1) if it is available, and gzip(1) otherwise.\nPassing this option forces the use of gzip even if bzip2 is available.\n",
                    "long": "--force-gzip"
                },
                {
                    "name": "--help",
                    "content": "Print a brief usage message, then exit.\n",
                    "long": "--help"
                },
                {
                    "name": "--print-inputs",
                    "content": "Instead of creating a bundle, display a list of the files and directories that the\nprogram would include if it generated a bundle.\n",
                    "long": "--print-inputs"
                }
            ]
        },
        "FILE FORMAT": {
            "content": "The bundle file is simply a tar(1) file compressed with bzip2(1) or gzip(1), with each of the\ninput directory trees rooted at “.”.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "aptitude-run-state-bundle(1), aptitude(8), apt(8)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Daniel Burrows <dburrows@debian.org>\nMain author of the document.\n\nManuel A. Fernandez Montecelo <mafm@debian.org>\nMain maintainer after Daniel Burrows, documentation about new features, corrections and\nformatting.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2007 Daniel Burrows.\n\nThis manual page is free software; you can redistribute it and/or modify it under the terms\nof the GNU General Public License as published by the Free Software Foundation; either\nversion 2 of the License, or (at your option) any later version.\n\nThis manual page is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See\nthe GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program; if\nnot, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n02110-1301 USA.\n\n\naptitude-create-state-bundle 0               03/31/2024                        APTITUDE-CREATE-ST(1)",
            "subsections": []
        }
    },
    "summary": "aptitude-create-state-bundle - bundle the current aptitude state",
    "flags": [
        {
            "flag": "",
            "long": "--force-bzip2",
            "arg": null,
            "description": "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."
        },
        {
            "flag": "",
            "long": "--force-gzip",
            "arg": null,
            "description": "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."
        },
        {
            "flag": "",
            "long": "--help",
            "arg": null,
            "description": "Print a brief usage message, then exit."
        },
        {
            "flag": "",
            "long": "--print-inputs",
            "arg": null,
            "description": "Instead of creating a bundle, display a list of the files and directories that the program would include if it generated a bundle."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "aptitude-run-state-bundle",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/aptitude-run-state-bundle/1/json"
        },
        {
            "name": "aptitude",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/aptitude/8/json"
        },
        {
            "name": "apt",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/apt/8/json"
        }
    ],
    "tldr": {
        "source": "not_found",
        "examples": []
    }
}