chdist - script to easily play with several distributions


chdist [options] [command] [command parameters]


chdist is a rewrite of what used to be known as 'MultiDistroTools' (or mdt). Its use is to create 'APT trees' for several distributions, making it easy to query the status of packages in other distribution without using chroots, for instance.


-h, --help
Provide a usage message.
-d, --data-dir DIR
Choose data directory (default: $HOME/.chdist/).
-a, --arch ARCH
Choose architecture (default: `dpkg --print-architecture`)
Display version information.


create DIST : prepare a new tree named DIST
apt-get DIST (update|source|...) : run apt-get inside DIST
apt-cache DIST (show|showsrc|...) : run apt-cache inside DIST
apt-rdepends DIST [...] : run apt-rdepends inside DIST
src2bin DIST PKG : get binary packages for a source package in DIST
bin2src DIST PKG : get source package for a binary package in DIST
compare-packages DIST1 DIST2 [DIST3, ...] : list versions of packages in several DISTributions
compare-bin-packages DIST1 DIST2 [DIST3, ...]
compare-versions DIST1 DIST2 : same as compare-packages, but also run dpkg --compare-versions and display where the package is newer.
compare-bin-versions DIST1 DIST2
compare-src-bin-packages DIST : compare sources and binaries for DIST
compare-src-bin-versions DIST : same as compare-src-bin-versions, but also run dpkg --compare-versions and display where the package is newer
grep-dctrl-packages DIST [...] : run grep-dctrl on *_Packages inside DIST
grep-dctrl-sources DIST [...] : run grep-dctrl on *_Sources inside DIST
list : list available DISTs


This program is copyright 2007 by Lucas Nussbaum and Luk Claes. This program comes with ABSOLUTELY NO WARRANTY.

It is licensed under the terms of the GPL, either version 2 of the License, or (at your option) any later version.