MADISON-LITE(1) | General Commands Manual | MADISON-LITE(1) |
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--mirror
directory--nocache
--update
-S
,
--source-and-binary
-r
,
--regex
-a
,
--architecture
architecture[,...]-c
,
--component
component[,...]-s
,
--suite
suite[,...]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
directorysuite
directive are interpreted
relative to this directory. Defaults to the current directory.suite
name directory
[component [...]]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, 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.
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
dpkg-scanpackages(8), dpkg-scansources(8), apt-ftparchive(1)
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.
August 1, 2007 | Debian |