{
    "content": [
        {
            "type": "text",
            "text": "# rmadison (man)\n\n## NAME\n\nrmadison -- Remotely query the Debian archive database about packages\n\n## SYNOPSIS\n\nrmadison [OPTIONS] PACKAGE ...\n\n## DESCRIPTION\n\ndak ls queries the Debian archive database (\"projectb\") and displays which package version is\nregistered per architecture/component/suite.  The CGI at https://qa.debian.org/madison.php\nprovides that service without requiring SSH access to ftp-master.debian.org or the mirror on\nmirror.ftp-master.debian.org. This script, rmadison, is a command line frontend to this CGI.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (12 subsections)\n- **CONFIGURATION VARIABLES**\n- **NOTES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "rmadison",
        "section": "",
        "mode": "man",
        "summary": "rmadison -- Remotely query the Debian archive database about packages",
        "synopsis": "rmadison [OPTIONS] PACKAGE ...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-a",
                "long": null,
                "arg": null,
                "description": "only show info for ARCH(s)"
            },
            {
                "flag": "-b",
                "long": null,
                "arg": null,
                "description": "only show info for binary TYPE"
            },
            {
                "flag": "-c",
                "long": null,
                "arg": null,
                "description": "only show info for COMPONENT(s)"
            },
            {
                "flag": "-g",
                "long": "--greaterorequal",
                "arg": null,
                "description": "show buildd 'dep-wait pkg >= {highest version}' info"
            },
            {
                "flag": "-G",
                "long": "--greaterthan",
                "arg": null,
                "description": "show buildd 'dep-wait pkg >> {highest version}' info"
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "show this help and exit"
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "only show info for this suite"
            },
            {
                "flag": "-r",
                "long": "--regex",
                "arg": null,
                "description": "treat PACKAGE as a regex Note: Since -r can easily DoS the database (\"-r .\"), this option is not supported by the CGI on qa.debian.org and most other installations."
            },
            {
                "flag": "-S",
                "long": "--source-and-binary",
                "arg": null,
                "description": "show info for the binary children of source pkgs"
            },
            {
                "flag": "-t",
                "long": "--time",
                "arg": null,
                "description": "show projectb snapshot and reload time (not supported by all archives)"
            },
            {
                "flag": "-u",
                "long": null,
                "arg": null,
                "description": "use URL for the query. Supported shorthands are debian https://api.ftp-master.debian.org/madison new https://api.ftp-master.debian.org/madison?s=new qa https://qa.debian.org/madison.php ubuntu https://ubuntu-archive-team.ubuntu.com/madison.cgi udd https://qa.debian.org/cgi-bin/madison.cgi See the RMADISONURLMAP variable below for a method to add new shorthands."
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "show version and exit --no-conf, --noconf don't read the devscripts configuration files ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g. --architecture=m68k,i386"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "dak",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/dak/1/json"
            },
            {
                "name": "madison-lite",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/madison-lite/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a --architecture=",
                        "lines": 2,
                        "flag": "-a"
                    },
                    {
                        "name": "-b --binary-type=",
                        "lines": 2,
                        "flag": "-b"
                    },
                    {
                        "name": "-c --component=",
                        "lines": 2,
                        "flag": "-c"
                    },
                    {
                        "name": "-g --greaterorequal",
                        "lines": 2,
                        "flag": "-g",
                        "long": "--greaterorequal"
                    },
                    {
                        "name": "-G --greaterthan",
                        "lines": 2,
                        "flag": "-G",
                        "long": "--greaterthan"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-s --suite=",
                        "lines": 2,
                        "flag": "-s"
                    },
                    {
                        "name": "-r --regex",
                        "lines": 5,
                        "flag": "-r",
                        "long": "--regex"
                    },
                    {
                        "name": "-S --source-and-binary",
                        "lines": 2,
                        "flag": "-S",
                        "long": "--source-and-binary"
                    },
                    {
                        "name": "-t --time",
                        "lines": 2,
                        "flag": "-t",
                        "long": "--time"
                    },
                    {
                        "name": "-u --url=",
                        "lines": 9,
                        "flag": "-u"
                    },
                    {
                        "name": "--version",
                        "lines": 8,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "CONFIGURATION VARIABLES",
                "lines": 28,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "rmadison -- Remotely query the Debian archive database about packages\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "rmadison [OPTIONS] PACKAGE ...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "dak ls queries the Debian archive database (\"projectb\") and displays which package version is\nregistered per architecture/component/suite.  The CGI at https://qa.debian.org/madison.php\nprovides that service without requiring SSH access to ftp-master.debian.org or the mirror on\nmirror.ftp-master.debian.org. This script, rmadison, is a command line frontend to this CGI.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-a --architecture=",
                        "content": "only show info for ARCH(s)\n",
                        "flag": "-a"
                    },
                    {
                        "name": "-b --binary-type=",
                        "content": "only show info for binary TYPE\n",
                        "flag": "-b"
                    },
                    {
                        "name": "-c --component=",
                        "content": "only show info for COMPONENT(s)\n",
                        "flag": "-c"
                    },
                    {
                        "name": "-g --greaterorequal",
                        "content": "show buildd 'dep-wait pkg >= {highest version}' info\n",
                        "flag": "-g",
                        "long": "--greaterorequal"
                    },
                    {
                        "name": "-G --greaterthan",
                        "content": "show buildd 'dep-wait pkg >> {highest version}' info\n",
                        "flag": "-G",
                        "long": "--greaterthan"
                    },
                    {
                        "name": "-h --help",
                        "content": "show this help and exit\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-s --suite=",
                        "content": "only show info for this suite\n",
                        "flag": "-s"
                    },
                    {
                        "name": "-r --regex",
                        "content": "treat PACKAGE as a regex\n\nNote: Since -r can easily DoS the database (\"-r .\"), this option is not supported by the\nCGI on qa.debian.org and most other installations.\n",
                        "flag": "-r",
                        "long": "--regex"
                    },
                    {
                        "name": "-S --source-and-binary",
                        "content": "show info for the binary children of source pkgs\n",
                        "flag": "-S",
                        "long": "--source-and-binary"
                    },
                    {
                        "name": "-t --time",
                        "content": "show projectb snapshot and reload time (not supported by all archives)\n",
                        "flag": "-t",
                        "long": "--time"
                    },
                    {
                        "name": "-u --url=",
                        "content": "use URL for the query. Supported shorthands are\ndebian https://api.ftp-master.debian.org/madison\nnew https://api.ftp-master.debian.org/madison?s=new\nqa https://qa.debian.org/madison.php\nubuntu https://ubuntu-archive-team.ubuntu.com/madison.cgi\nudd https://qa.debian.org/cgi-bin/madison.cgi\n\nSee the RMADISONURLMAP variable below for a method to add new shorthands.\n",
                        "flag": "-u"
                    },
                    {
                        "name": "--version",
                        "content": "show version and exit\n\n--no-conf, --noconf\ndon't read the devscripts configuration files\n\nARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g.\n--architecture=m68k,i386\n",
                        "long": "--version"
                    }
                ]
            },
            "CONFIGURATION VARIABLES": {
                "content": "The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in\nthat order to set configuration variables. Command line options can be used to override\nconfiguration file settings. Environment variable settings are ignored for this purpose. The\ncurrently recognised variables are:\n\nRMADISONURLMAPSHORTHAND=URL\nAdd an entry to the set of shorthand URLs listed above. SHORTHAND should be replaced with\nthe shorthand form to be used to refer to URL.\n\nMultiple shorthand entries may be specified by using multiple RMADISONURLMAP*\nvariables.\n\nRMADISONDEFAULTURL=URL\nSet the default URL to use unless overridden by a command line option.  For Debian this\ndefaults to debian. For Ubuntu this defaults to ubuntu.\n\nRMADISONARCHITECTURE=ARCH\nSet the default architecture to use unless overridden by a command line option.  To run\nan unrestricted query when RMADISONARCHITECTURE is set, use --architecture='*'.\n\nRMADISONSSLCAFILE=FILE\nUse the specified CA file instead of the default CA bundle for curl/wget, passed as\n--cacert to curl, and as --ca-certificate to wget.\n\nRMADISONSSLCAPATH=PATH\nUse the specified CA directory instead of the default CA bundle for curl/wget, passed as\n--capath to curl, and as --ca-directory to wget.\n",
                "subsections": []
            },
            "NOTES": {
                "content": "dak ls was formerly called madison.\n\nThe protocol used by rmadison is fairly simple, the CGI accepts query the parameters a, b, c,\ng, G, r, s, S, t, and package. The parameter text is passed to enable plain-text output.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "dak(1), madison-lite(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "rmadison and https://qa.debian.org/madison.php were written by Christoph Berg\n<myon@debian.org>. dak was written by James Troup <james@nocrew.org>, Anthony Towns\n<ajt@debian.org>, and others.\n\n\n\nDebian Utilities                             2026-03-04                                  RMADISON(1)",
                "subsections": []
            }
        }
    }
}