Scroll to navigation



rmadison -- Remotely query the Debian archive database about packages



dak ls queries the Debian archive database ("projectb") and displays which package version is registered per architecture/component/suite. The CGI at provides that service without requiring SSH access to or the mirror on This script, rmadison, is a command line frontend to this CGI.


only show info for ARCH(s)
only show info for binary TYPE
only show info for COMPONENT(s)
show buildd 'dep-wait pkg >= {highest version}' info
show buildd 'dep-wait pkg >> {highest version}' info
show this help and exit
only show info for this suite
treat PACKAGE as a regex

Note: Since -r can easily DoS the database ("-r ."), this option is not supported by the CGI on and most other installations.

show info for the binary children of source pkgs
show projectb snapshot and reload time (not supported by all archives)
use URL for the query. Supported shorthands are

See the RMADISON_URL_MAP_ variable below for a method to add new shorthands.

show version and exit
don't read the devscripts configuration files

ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g. --architecture=amd64,i386


The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variables are:

Add an entry to the set of shorthand URLs listed above. SHORTHAND should be replaced with the shorthand form to be used to refer to URL.

Multiple shorthand entries may be specified by using multiple RMADISON_URL_MAP_* variables.

Set the default URL to use unless overridden by a command line option. For Debian this defaults to debian. For Ubuntu this defaults to ubuntu.
Set the default architecture to use unless overridden by a command line option. To run an unrestricted query when RMADISON_ARCHITECTURE is set, use --architecture='*'.
Use the specified CA file instead of the default CA bundle for curl/wget, passed as --cacert to curl, and as --ca-certificate to wget.
Use the specified CA directory instead of the default CA bundle for curl/wget, passed as --capath to curl, and as --ca-directory to wget.


dak ls was formerly called madison.

The protocol used by rmadison is fairly simple, the CGI accepts query the parameters a, b, c, g, G, r, s, S, t, and package. The parameter text is passed to enable plain-text output.


dak(1), madison-lite(1)


rmadison and were written by Christoph Berg <>. dak was written by James Troup <>, Anthony Towns <>, and others.

2023-10-20 Debian Utilities