{
    "content": [
        {
            "type": "text",
            "text": "# dpkg-preconfigure (man)\n\n## NAME\n\ndpkg-preconfigure - let packages ask questions prior to their installation\n\n## SYNOPSIS\n\ndpkg-preconfigure [options] package.deb\ndpkg-preconfigure --apt\n\n## DESCRIPTION\n\ndpkg-preconfigure lets packages ask questions before they are installed.  It operates on a\nset of debian packages, and all packages that use debconf will have their config script run\nso they can examine the system and ask questions.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (5 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "dpkg-preconfigure",
        "section": "",
        "mode": "man",
        "summary": "dpkg-preconfigure - let packages ask questions prior to their installation",
        "synopsis": "dpkg-preconfigure [options] package.deb\ndpkg-preconfigure --apt",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": "Select the frontend to use."
            },
            {
                "flag": "-p",
                "long": null,
                "arg": null,
                "description": "Set the lowest priority of questions you are interested in. Any questions with a priority below the selected priority will be ignored and their default answers will be used."
            },
            {
                "flag": "",
                "long": "--terse",
                "arg": null,
                "description": "Enables terse output mode. This affects only some frontends."
            },
            {
                "flag": "",
                "long": "--apt",
                "arg": null,
                "description": "Run in apt mode. It will expect to read a set of package filenames from stdin, rather than getting them as parameters. Typically this is used to make apt run dpkg-preconfigure on all packages before they are installed. To do this, add something like this to /etc/apt/apt.conf: // Pre-configure all packages before // they are installed. DPkg::Pre-Install-Pkgs { \"dpkg-preconfigure --apt --priority=low\"; };"
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display usage help."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "debconf",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/debconf/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f --frontend=",
                        "lines": 2,
                        "flag": "-f"
                    },
                    {
                        "name": "-p --priority=",
                        "lines": 3,
                        "flag": "-p"
                    },
                    {
                        "name": "--terse",
                        "lines": 2,
                        "long": "--terse"
                    },
                    {
                        "name": "--apt",
                        "lines": 11,
                        "long": "--apt"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "dpkg-preconfigure - let packages ask questions prior to their installation\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "dpkg-preconfigure [options] package.deb\n\ndpkg-preconfigure --apt\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "dpkg-preconfigure lets packages ask questions before they are installed.  It operates on a\nset of debian packages, and all packages that use debconf will have their config script run\nso they can examine the system and ask questions.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-f --frontend=",
                        "content": "Select the frontend to use.\n",
                        "flag": "-f"
                    },
                    {
                        "name": "-p --priority=",
                        "content": "Set the lowest priority of questions you are interested in. Any questions with a priority\nbelow the selected priority will be ignored and their default answers will be used.\n",
                        "flag": "-p"
                    },
                    {
                        "name": "--terse",
                        "content": "Enables terse output mode. This affects only some frontends.\n",
                        "long": "--terse"
                    },
                    {
                        "name": "--apt",
                        "content": "Run in apt mode. It will expect to read a set of package filenames from stdin, rather\nthan getting them as parameters. Typically this is used to make apt run dpkg-preconfigure\non all packages before they are installed.  To do this, add something like this to\n/etc/apt/apt.conf:\n\n// Pre-configure all packages before\n// they are installed.\nDPkg::Pre-Install-Pkgs {\n\"dpkg-preconfigure --apt --priority=low\";\n};\n",
                        "long": "--apt"
                    },
                    {
                        "name": "-h --help",
                        "content": "Display usage help.\n",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "debconf(7)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Joey Hess <joeyh@debian.org>\n\n\n\n2022-02-20                         DPKG-PRECONFIGURE(8)",
                "subsections": []
            }
        }
    }
}