.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
.    if \nF \{\
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{\
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "CHDIST 1"
.TH CHDIST 1 "2024-09-18" "Debian Utilities" " "
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
chdist \- script to easily play with several distributions
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBchdist\fR [\fIoptions\fR] [\fIcommand\fR] [\fIcommand parameters\fR]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBchdist\fR is a rewrite of what used to be known as 'MultiDistroTools'
(or mdt). Its use is to create '\s-1APT\s0 trees' for several distributions,
making it easy to query the status of packages in other distribution
without using chroots, for instance.
.SH "OPTIONS"
.IX Header "OPTIONS"
.IP "\fB\-h\fR, \fB\-\-help\fR" 4
.IX Item "-h, --help"
Provide a usage message.
.IP "\fB\-d\fR, \fB\-\-data\-dir\fR \fI\s-1DIR\s0\fR" 4
.IX Item "-d, --data-dir DIR"
Choose data directory (default: \fI~/.chdist/\fR).
.IP "\fB\-a\fR, \fB\-\-arch\fR \fI\s-1ARCH\s0\fR" 4
.IX Item "-a, --arch ARCH"
Choose architecture (default: `\fBdpkg \-\-print\-architecture\fR`).
.IP "\fB\-\-version\fR" 4
.IX Item "--version"
Display version information.
.SH "COMMANDS"
.IX Header "COMMANDS"
.IP "\fBcreate\fR \fI\s-1DIST\s0\fR [\fI\s-1URL\s0\fR \fI\s-1RELEASE\s0\fR \fI\s-1SECTIONS\s0\fR]" 4
.IX Item "create DIST [URL RELEASE SECTIONS]"
Prepare a new tree named \fI\s-1DIST\s0\fR
.IP "\fBapt\fR \fI\s-1DIST\s0\fR <\fBupdate\fR|\fBsource\fR|\fBshow\fR|\fBshowsrc\fR|...>" 4
.IX Item "apt DIST <update|source|show|showsrc|...>"
Run \fBapt\fR inside \fI\s-1DIST\s0\fR
.IP "\fBapt-get\fR \fI\s-1DIST\s0\fR <\fBupdate\fR|\fBsource\fR|...>" 4
.IX Item "apt-get DIST <update|source|...>"
Run \fBapt-get\fR inside \fI\s-1DIST\s0\fR
.IP "\fBapt-cache\fR \fI\s-1DIST\s0\fR <\fBshow\fR|\fBshowsrc\fR|...>" 4
.IX Item "apt-cache DIST <show|showsrc|...>"
Run \fBapt-cache\fR inside \fI\s-1DIST\s0\fR
.IP "\fBapt-file\fR \fI\s-1DIST\s0\fR <\fBupdate\fR|\fBsearch\fR|...>" 4
.IX Item "apt-file DIST <update|search|...>"
Run \fBapt-file\fR inside \fI\s-1DIST\s0\fR
.IP "\fBapt-rdepends\fR \fI\s-1DIST\s0\fR [...]" 4
.IX Item "apt-rdepends DIST [...]"
Run \fBapt-rdepends\fR inside \fI\s-1DIST\s0\fR
.IP "\fBaptitude\fR \fI\s-1DIST\s0\fR [...]" 4
.IX Item "aptitude DIST [...]"
Run \fBaptitude\fR inside \fI\s-1DIST\s0\fR
.IP "\fBsrc2bin\fR \fI\s-1DIST SRCPKG\s0\fR" 4
.IX Item "src2bin DIST SRCPKG"
List binary packages for \fI\s-1SRCPKG\s0\fR in \fI\s-1DIST\s0\fR
.IP "\fBbin2src\fR \fI\s-1DIST BINPKG\s0\fR" 4
.IX Item "bin2src DIST BINPKG"
List source package for \fI\s-1BINPKG\s0\fR in \fI\s-1DIST\s0\fR
.IP "\fBcompare-packages\fR \fI\s-1DIST1 DIST2\s0\fR [\fI\s-1DIST3\s0\fR, ...]" 4
.IX Item "compare-packages DIST1 DIST2 [DIST3, ...]"
.PD 0
.IP "\fBcompare-bin-packages\fR \fI\s-1DIST1 DIST2\s0\fR [\fI\s-1DIST3\s0\fR, ...]" 4
.IX Item "compare-bin-packages DIST1 DIST2 [DIST3, ...]"
.PD
List versions of packages in several \fI\s-1DIST\s0\fRributions
.IP "\fBcompare-versions\fR \fI\s-1DIST1 DIST2\s0\fR" 4
.IX Item "compare-versions DIST1 DIST2"
.PD 0
.IP "\fBcompare-bin-versions\fR \fI\s-1DIST1 DIST2\s0\fR" 4
.IX Item "compare-bin-versions DIST1 DIST2"
.PD
Same as \fBcompare-packages\fR/\fBcompare-bin-packages\fR, but also runs
\&\fBdpkg \-\-compare\-versions\fR and display where the package is newer.
.IP "\fBcompare-src-bin-packages\fR \fI\s-1DIST\s0\fR" 4
.IX Item "compare-src-bin-packages DIST"
Compare sources and binaries for \fI\s-1DIST\s0\fR
.IP "\fBcompare-src-bin-versions\fR \fI\s-1DIST\s0\fR" 4
.IX Item "compare-src-bin-versions DIST"
Same as \fBcompare-src-bin-packages\fR, but also run \fBdpkg \-\-compare\-versions\fR
and display where the package is newer
.IP "\fBgrep-dctrl-packages\fR \fI\s-1DIST\s0\fR [...]" 4
.IX Item "grep-dctrl-packages DIST [...]"
Run \fBgrep-dctrl\fR on \fI*_Packages\fR inside \fI\s-1DIST\s0\fR
.IP "\fBgrep-dctrl-sources\fR \fI\s-1DIST\s0\fR [...]" 4
.IX Item "grep-dctrl-sources DIST [...]"
Run \fBgrep-dctrl\fR on \fI*_Sources\fR inside \fI\s-1DIST\s0\fR
.IP "\fBlist\fR" 4
.IX Item "list"
List available \fI\s-1DIST\s0\fRs
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
This program is copyright 2007 by Lucas Nussbaum and Luk Claes. This
program comes with \s-1ABSOLUTELY NO WARRANTY.\s0
.PP
It is licensed under the terms of the \s-1GPL,\s0 either version 2 of the
License, or (at your option) any later version.