chdist1
Script to easily play with several distributions
Usage
chdist [options]
[command]
[command
parameters]
chdist [options]
DIST
command
[command
parameters]
Overview
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.
Options
-
-h, --help -
Provide a usage message.
-
-d, --data-dir DIR -
Choose data directory (default: ~/.chdist/).
-
-a, --arch ARCH -
Choose architecture (default: `dpkg --print-architecture`).
-
--version -
Display version information.
Commands
createDIST [URL RELEASE SECTIONS]-
Prepare a new tree named DIST
aptDIST <update|source|show|showsrc|...>-
Run
aptinside DIST
apt-getDIST <update|source|...>-
Run
apt-getinside DIST
apt-cacheDIST <show|showsrc|...>-
Run
apt-cacheinside DIST
apt-fileDIST <update|search|...>-
Run
apt-fileinside DIST
apt-rdependsDIST [...]-
Run
apt-rdependsinside DIST
build-rdepsDIST [...]-
Run
build-rdepsinside DIST. When the DIST origin and suite/codename differ from the system origin and suite/codename then they need to be set usingbuild-rdepsoptions.
aptitudeDIST [...]-
Run
aptitudeinside DIST
src2binDIST SRCPKG-
List binary packages for SRCPKG in DIST
bin2srcDIST BINPKG-
List source package for BINPKG in DIST
compare-packagesDIST1 DIST2 [DIST3, ...]
compare-bin-packagesDIST1 DIST2 [DIST3, ...]-
List versions of packages in several DISTributions
compare-versionsDIST1 DIST2
compare-bin-versionsDIST1 DIST2-
Same as
compare-packages/compare-bin-packages, but also runs dpkg --compare-versions and display where the package is newer.
compare-src-bin-packagesDIST-
Compare sources and binaries for DIST
compare-src-bin-versionsDIST-
Same as
compare-src-bin-packages, but also run dpkg --compare-versions and display where the package is newer
grep-dctrl-packagesDIST [...]-
Run
grep-dctrlon *_Packages inside DIST
grep-dctrl-sourcesDIST [...]-
Run
grep-dctrlon *_Sources inside DIST
list-
List available DISTs
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.