chdist - script to easily play with several distributions
Contents
Commands
createDIST [URLRELEASESECTIONS]
Prepare a new tree named DISTaptDIST <update|source|show|showsrc|...>
Run apt inside DISTapt-getDIST <update|source|...>
Run apt-get inside DISTapt-cacheDIST <show|showsrc|...>
Run apt-cache inside DISTapt-fileDIST <update|search|...>
Run apt-file inside DISTapt-rdependsDIST [...]
Run apt-rdepends inside DISTbuild-rdepsDIST [...]
Run build-rdeps inside DIST. When the DIST origin and suite/codename differ from the system origin
and suite/codename then they need to be set using build-rdeps options.
aptitudeDIST [...]
Run aptitude inside DISTsrc2binDISTSRCPKG
List binary packages for SRCPKG in DISTbin2srcDISTBINPKG
List source package for BINPKG in DISTcompare-packagesDIST1DIST2 [DIST3, ...]
compare-bin-packagesDIST1DIST2 [DIST3, ...]
List versions of packages in several DISTributions
compare-versionsDIST1DIST2compare-bin-versionsDIST1DIST2
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 DISTcompare-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-dctrl on *_Packages inside DISTgrep-dctrl-sourcesDIST [...]
Run grep-dctrl on *_Sources inside DISTlist
List available DISTs
Copyright
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.
Debian Utilities 2025-02-25 CHDIST(1)
Description
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.
Name
chdist - script to easily play with several distributions
Options
-h, --help
Provide a usage message.
-d, --data-dirDIR
Choose data directory (default: ~/.chdist/).
-a, --archARCH
Choose architecture (default: `dpkg--print-architecture`).
--version
Display version information.
Synopsis
chdist [options] [command] [commandparameters]
chdist [options] DISTcommand [commandparameters]
The second syntax is accepted when the DIST does not match one of the known commands from the list below
(see "COMMANDS"). Then the command may be any program available on the system and anything based on apt
will be using the DIST apt data.
