{
    "content": [
        {
            "type": "text",
            "text": "# dpkg-preconfigure (info)\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\ninstalled.  It operates on a set of debian packages, and all packages\nthat use debconf will have their config script run so they can examine\nthe system and ask questions.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (3 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "dpkg-preconfigure",
        "section": "",
        "mode": "info",
        "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": "",
                "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": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 8,
                "subsections": [
                    {
                        "name": "--terse",
                        "lines": 2,
                        "long": "--terse"
                    },
                    {
                        "name": "--apt",
                        "lines": 12,
                        "long": "--apt"
                    },
                    {
                        "name": "-h, --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "dpkg-preconfigure - let packages ask questions prior to their\ninstallation\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\ninstalled.  It operates on a set of debian packages, and all packages\nthat use debconf will have their config script run so they can examine\nthe system and ask questions.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "-ftype, --frontend=type\nSelect the frontend to use.\n\n-pvalue, --priority=value\nSet the lowest priority of questions you are interested in. Any\nquestions with a priority below the selected priority will be\nignored and their default answers will be used.\n",
                "subsections": [
                    {
                        "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\nfrom stdin, rather than getting them as parameters. Typically this\nis used to make apt run dpkg-preconfigure on all packages before\nthey 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\n2022-02-20              DPKG-PRECONFIGURE(8)",
                "subsections": []
            }
        }
    }
}