OnWorks favicon

madison-lite - Online in the Cloud

Run madison-lite in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command madison-lite that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



madison-lite — display versions of Debian packages in an archive


madison-lite [--config-file file] [--mirror directory] [--nocache] [--update] [-S] [-r]
[-a architecture[,...]] [-c component[,...]] [-s suite[,...]] package [...]


madison-lite inspects a local Debian package archive and displays the versions of the given
packages found in each suite (for example, stable, testing, or unstable) in a brief but
easily human-readable form. It aims to be a drop-in replacement for the madison utility
(since renamed to dak ls), from the dak archive management suite that runs on the central
Debian archive systems, but one which can run without access to the archive's SQL database.

The following options are available:

--config-file file
Read configuration from file, and ignore the system configuration file (see

--mirror directory
Quick configuration: use directory as the top level of the Debian mirror.

Normally, parts of the Packages and Sources files in the archive are cached in
~/.madison-lite/cache for speed. This option disables that behaviour.

Force caches of Packages and Sources files 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.

-a, --architecture architecture[,...]
Display only entries for packages built for these architectures. Separate multiple
architectures with commas or spaces.

-c, --component component[,...]
Display only entries in the given components. Separate multiple components with
commas or spaces.

-s, --suite suite[,...]
Display only entries in the given suites. Separate multiple suites with commas or


madison-lite reads configuration information from the file named by --config-file, or, if
that is not supplied, from the first of ~/.madison-lite/config and /etc/madison-lite/config
that exists.

The following configuration directives are recognized:

mirror directory
Set the top-level directory of the local Debian mirror. Relative directories in the
suite directive are interpreted relative to this directory. Defaults to the current

suite name 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 of suite directives in the configuration file. If no suite directives are
present, then every subdirectory of the dists directory under mirror is treated as a
suite, with all of their subdirectories as components.

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, and Packages.bz2 files listing binary packages; it also has a
subdirectory called source which contains any or all of Sources, Sources.gz, and
Sources.bz2 files listing source packages.

The configuration file may contain comment lines, which start with a ‘#’ character.


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

Use madison-lite online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    XyZerKunG ServerTool
    XyZerKunG ServerTool
    XyZerKunG ServerTool helps you to make
    your own Minecraft server and play with
    your friend for a few minutes.
    Features:Automatically create a
    Minecraft serverU...
    Download XyZerKunG ServerTool
  • 2
    Java source intended to serve as a
    nexus for teaching both mathematics and
    software solutions for computation on
    iterative equations. Public interfaces
    allow a...
    Download CalcTools
  • 3
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Download Rocket.Chat Desktop Client
  • 4
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 5
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 6
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • More »

Linux commands