{
    "content": [
        {
            "type": "text",
            "text": "# sync-available(8) (man)\n\n**Summary:** sync-available - sync dpkg's available database with apt's database\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | --version | — | Output the name and version of the program onto standard output stream. --help Give a brief usage statement on the stand |\n\n## See Also\n\n- grep-available(1)\n- apt(8)\n- dpkg(8)\n- dselect(8)\n- SYNC-AVAILABLE(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (1 lines) — 3 subsections\n  - sync-available (1 lines)\n  - sync-available --version (1 lines)\n  - sync-available --help (1 lines)\n- **DESCRIPTION** (8 lines)\n- **EXIT STATUS** (2 lines)\n- **OPTIONS** (1 lines) — 1 subsections\n  - --version (4 lines)\n- **ENVIRONMENT** (2 lines)\n- **AUTHOR** (2 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nsync-available - sync dpkg's available database with apt's database\n\n### SYNOPSIS\n\n#### sync-available\n\n#### sync-available --version\n\n#### sync-available --help\n\n### DESCRIPTION\n\nThis program updates the dpkg(8) available database with the data in the apt(8) package data‐\nbase.  This is required for grep-available(1) and other similar programs to  give  up-to-date\nresults.\n\nThe  same  functionality is available through dselect(8), when it is configured to use apt(8)\nas its acquisition method.  However, this program does not require  that  dselect(8)  is  in‐\nstalled.\n\n### EXIT STATUS\n\nThe program exits with status code 0 if all went well, and a non-zero status code otherwise.\n\n### OPTIONS\n\n#### --version\n\nOutput the name and version of the program onto standard output stream.\n\n--help Give a brief usage statement on the standard output stream.\n\n### ENVIRONMENT\n\nTMPDIR The name of the directory where temporary files are created.  Default is /tmp.\n\n### AUTHOR\n\nThe program and this manual page were written by Antti-Juhani Kaijanaho <ajk@debian.org>.\n\n### SEE ALSO\n\ngrep-available(1), apt(8), dpkg(8), dselect(8)\n\n\n\nDebian Project                               2005-07-11                            SYNC-AVAILABLE(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "sync-available",
        "section": "8",
        "mode": "man",
        "summary": "sync-available - sync dpkg's available database with apt's database",
        "synopsis": "",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Output the name and version of the program onto standard output stream. --help Give a brief usage statement on the standard output stream."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "grep-available",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/grep-available/1/json"
            },
            {
                "name": "apt",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/apt/8/json"
            },
            {
                "name": "dpkg",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/dpkg/8/json"
            },
            {
                "name": "dselect",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/dselect/8/json"
            },
            {
                "name": "SYNC-AVAILABLE",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/SYNC-AVAILABLE/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "sync-available",
                        "lines": 1
                    },
                    {
                        "name": "sync-available --version",
                        "lines": 1
                    },
                    {
                        "name": "sync-available --help",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--version",
                        "lines": 4,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}