{
    "mode": "man",
    "parameter": "RMADISON",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/RMADISON/1/json",
    "generated": "2026-08-08T01:31:51Z",
    "synopsis": "rmadison [OPTIONS] PACKAGE ...",
    "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",
                    "long": "--architecture",
                    "arg": "_"
                },
                {
                    "name": "-b --binary-type=_",
                    "content": "only show info for binary TYPE\n",
                    "flag": "-b",
                    "long": "--binary-type",
                    "arg": "_"
                },
                {
                    "name": "-c --component=_",
                    "content": "only show info for COMPONENT(s)\n",
                    "flag": "-c",
                    "long": "--component",
                    "arg": "_"
                },
                {
                    "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",
                    "long": "--suite",
                    "arg": "_"
                },
                {
                    "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\narchive https://qa.debian.org/cgi-bin/madison.cgi?table=archived\nports https://qa.debian.org/cgi-bin/madison.cgi?table=ports\n\nSee the RMADISONURLMAP variable below for a method to add new shorthands.\n",
                    "flag": "-u",
                    "long": "--url",
                    "arg": "_"
                },
                {
                    "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=amd64,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\nDebian Utilities                             2026-02-25                                  RMADISON(1)",
            "subsections": []
        }
    },
    "summary": "rmadison -- Remotely query the Debian archive database about packages",
    "flags": [
        {
            "flag": "-a",
            "long": "--architecture",
            "arg": "_",
            "description": "only show info for ARCH(s)"
        },
        {
            "flag": "-b",
            "long": "--binary-type",
            "arg": "_",
            "description": "only show info for binary TYPE"
        },
        {
            "flag": "-c",
            "long": "--component",
            "arg": "_",
            "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": "--suite",
            "arg": "_",
            "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": "--url",
            "arg": "_",
            "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 archive https://qa.debian.org/cgi-bin/madison.cgi?table=archived ports https://qa.debian.org/cgi-bin/madison.cgi?table=ports 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=amd64,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"
        }
    ]
}