MADISON-LITE(1)
π madison-lite β the manual page, but make it cute π
okay so bestie, welcome to MADISON-LITE(1) β it lives in section 1 of the manual (that's the LOCAL one, iykyk), and it's genuinely one of the most useful little tools out here. let's get into it β¨
πΈ NAME πΈ
madison-lite β display versions of Debian packages in an archive
π SYNOPSIS π
madison-lite [--config-file file] [--mirror directory] [--nocache]
[--update] [-S] [-r] [-a architecture[,...]]
[-c component[,...]] [-s suite[,...]] package [...]
β¨ DESCRIPTION β¨
okay so here's the vibe. madison-lite goes and inspects a local Debian package archive and shows you the versions of whatever packages you name β for each suite they show up in (think stable, testing, unstable, the whole squad). and it presents it in a brief-but-easily-human-readable form, which is exactly the energy we love. π
it's aiming to be a drop-in replacement for the madison utility (which has since been renamed to dak ls), from the dak archive management suite that runs on the central Debian archive systems. the glow-up? it can run without access to the archive's SQL database. no database, no problem. π¦
the following options are available:
--config-filefile β read configuration from file, and ignore the system configuration file (peep the βCONFIGURATIONβ section below).--mirrordirectory β quick configuration: use directory as the top level of the Debian mirror.--nocacheβ normally, parts of thePackagesandSourcesfiles in the archive get cached in~/.madison-lite/cachefor speed. this option disables that behaviour. no cache, just vibes.--updateβ force caches ofPackagesandSourcesfiles to be updated.-S,--source-and-binaryβ interpret package as a source package name, and display versions of any associated binary packages as well as of the source package.-r,--regexβ interpret package as a Perl regular expression anchored at the start of the package name rather than as an exact name. make sure to quote any shell metacharacters such as β*β or β?β if necessary. fr fr, quote them.-a,--architecturearchitecture[,...] β display only entries for packages built for these architectures. separate multiple architectures with commas or spaces.-c,--componentcomponent[,...] β display only entries in the given components. separate multiple components with commas or spaces.-s,--suitesuite[,...] β display only entries in the given suites. separate multiple suites with commas or spaces.
π§ CONFIGURATION π§
madison-lite reads configuration information from the file named by --config-file, or β if you didn't supply that β from the first one of ~/.madison-lite/config and /etc/madison-lite/config that exists.
the following configuration directives are recognized:
mirrordirectory β set the top-level directory of the local Debian mirror. relative directories in thesuitedirective are interpreted relative to this directory. defaults to the current directory.suitename directory [component [...]] β defines the suite name based at directory, containing the specified components (defaulting to all subdirectories of directory). output is displayed following the order ofsuitedirectives in the configuration file. if nosuitedirectives are present, then every subdirectory of thedistsdirectory undermirroris treated as a suite, with all of their subdirectories as components.
okay so here's the structural lore: the Debian archive is structured such that the subdirectories of each suite directory identify components (such as main). each of those in turn has subdirectories for each architecture (binary-i386, and so on), each of which contains any or all of Packages, Packages.gz, Packages.bz2, and Packages.xz files listing binary packages; it also has a subdirectory called source which contains any or all of Sources, Sources.gz, Sources.bz2, and Sources.xz files listing source packages.
the configuration file may contain comment lines, which start with a β#β character.
π EXAMPLES π
show versions of the coreutils package:
$ madison-lite coreutils
show versions of all binary packages on powerpc produced by the glibc source package:
$ madison-lite -S -a powerpc glibc
show versions of all packages in the unstable suite whose names begin with βmanβ:
$ madison-lite -s unstable -r 'man.*'
an example configuration file for a simple local mirror:
mirror /mirror/debian
suite unstable dists/unstable main
suite unstable-non-US non-US/dists/unstable non-US/main
π SEE ALSO π
dpkg-scanpackages(8), dpkg-scansources(8), apt-ftparchive(1)
π AUTHORS π
madison-lite was written by Colin Watson <cjwatson@debian.org>. the interface mirrors that of madison (since renamed to dak ls), written by James Troup.
and that's the whole page, bestie π«Ά this one came from the Debian crew, dated August 1, 2007, and it's filed under MADISON-LITE(1). iconic behavior honestly. go read your packages. π
β¨
π¦ where this page comes from
- debian bookworm: madison-lite 0.27 Β· GPL-2.0-or-later
- debian trixie: madison-lite 0.28 Β· GPL-2.0-or-later
- ubuntu jammy: madison-lite 0.27 Β· GPL-2.0-or-later
- ubuntu noble: madison-lite 0.28 Β· GPL-2.0-or-later
- ubuntu questing: madison-lite 0.28
- ubuntu resolute: madison-lite 0.29 Β· GPL-2.0-or-later
- ubuntu stonking: madison-lite 0.29 Β· 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