RMADISON(1)
π RMADISON π
okay so bestie, welcome to rmadison β that's the manual page, and yes it's RMADISON(1) in the system, but we're on a first-name basis here π«Ά
β¨ NAME β¨
rmadison β remotely queries the Debian archive database about packages. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
rmadison [OPTIONS] PACKAGE ...
π DESCRIPTION π
okay so dak ls queries the Debian archive database (affectionately known as "projectb") and shows you which package version is registered per architecture/component/suite. slay.
the CGI at https://qa.debian.org/madison.php gives you that same service without needing SSH access to ftp-master.debian.org or the mirror on mirror.ftp-master.debian.org. iconic honestly. and this script, rmadison, is just a command line frontend to that CGI. it's giving convenient. β¨
now, plot twist π β Ubuntu has no such CGI. so if you're querying an https://api.launchpad.net/ URL, like the ubuntu shorthand does, that question gets answered by asking the Launchpad web service for the published sources and binaries, and then formatting the reply like madison would. iykyk. check out "LAUNCHPAD ARCHIVES" down below for the tea. π
π OPTIONS π
-a,--architecture=ARCHβ only show info for ARCH(s)-b,--binary-type=TYPEβ only show info for binary TYPE-c,--component=COMPONENTβ only show info for COMPONENT(s)-g,--greaterorequalβ show buildd 'dep-wait pkg >= {highest version}' info-G,--greaterthanβ show buildd 'dep-wait pkg >> {highest version}' info-h,--helpβ show this help and exit-s,--suite=SUITEβ only show info for this suite-r,--regexβ treat PACKAGE as a regex
β οΈ bestie listen to me for a sec β since-rcan easily DoS the database ("-r .", i mean π), this option is not supported by the CGI onqa.debian.organd most other installations. do not. okay love u.
-S,--source-and-binaryβ show info for the binary children of source pkgs-t,--timeβ show projectb snapshot and reload time (not supported by all archives)-u,--url=URL[,URL ...]β use URL for the query. the 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://api.launchpad.net/devel/ubuntu/+archive/primary
udd https://qa.debian.org/cgi-bin/madison.cgi
all https://qa.debian.org/cgi-bin/madison.cgi?table=all
archive https://qa.debian.org/cgi-bin/madison.cgi?table=archived
ports https://qa.debian.org/cgi-bin/madison.cgi?table=ports
peep the RMADISON_URL_MAP_ variable further down if you wanna add your own new shorthands π
--versionβ show version and exit--no-conf,--noconfβ don't read the devscripts configuration files
also real quick: ARCH, COMPONENT and SUITE can be comma (or space) separated lists, like:
--architecture=amd64,i386
so go off, list as many as u want π
π§ CONFIGURATION VARIABLES π§
the two config files /etc/devscripts.conf and ~/.devscripts get sourced by a shell, in that order, to set configuration variables. command line options can override whatever the config files say. and heads up β environment variable settings are ignored for this purpose. the currently recognised variables are:
RMADISON_URL_MAP_SHORTHAND=URLβ add an entry to the set of shorthand URLs listed above.SHORTHANDshould be replaced with the shorthand form you want to use to refer toURL.
you can specify multiple shorthand entries by using multiple RMADISON_URL_MAP_* variables. stack 'em bestie β¨
RMADISON_DEFAULT_URL=URLβ set the default URL to use, unless it gets overridden by a command line option. for Debian this defaults todebian. for Ubuntu this defaults toubuntu.RMADISON_ARCHITECTURE=ARCHβ set the default architecture to use, unless it gets overridden by a command line option. to run an unrestricted query whenRMADISON_ARCHITECTUREis set, use--architecture='*'.RMADISON_SSL_CA_FILE=FILEβ use the specified CA file instead of the default CA bundle forcurl/wget, passed as--cacerttocurl, and as--ca-certificatetowget.RMADISON_SSL_CA_PATH=PATHβ use the specified CA directory instead of the default CA bundle forcurl/wget, passed as--capathtocurl, and as--ca-directorytowget.
π¦ LAUNCHPAD ARCHIVES π¦
any URL under https://api.launchpad.net/ gets queried through the Launchpad web service instead of through a madison CGI. besides the ubuntu shorthand, this also works for any other archive Launchpad knows about β for instance a PPA:
RMADISON_URL_MAP_MYPPA=https://api.launchpad.net/devel/~user/+archive/ubuntu/ppa
only -a, -c, -g, -G, -s and -S are supported for such a query. -b, -r and -t have no equivalent in the web service and get ignored with a warning. not me warning you in advance π₯²
β NOTES β
dak ls was formerly called madison. a glow-up honestly π
the protocol used by rmadison is fairly simple β the CGI accepts the query parameters a, b, c, g, G, r, s, S, t, and package. the parameter text is passed to enable plain-text output.
π SEE ALSO π
dak(1), madison-lite(1)
π AUTHOR π
rmadison and https://qa.debian.org/madison.php were written by Christoph Berg <myon@debian.org>. dak was written by James Troup <james@nocrew.org>, Anthony Towns <ajt@debian.org>, and others.
and that's the whole page bestie, no cap π this was Debian Utilities, dated 2026-09-21, and it's the RMADISON(1) manual β go query some packages, you absolute icon πβ¨
π¦ where this page comes from
- ubuntu stonking: devscripts 2.26.11ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms