chdist - script to easily play with several distributions
chdist [options] [command] [command parameters]
| Use Case | Command | Description |
|---|---|---|
| Create a new distribution tree | chdist create DIST [URL RELEASE SECTIONS] | Prepare a new tree named DIST |
| Update package lists | chdist apt DIST update | Run apt-get update inside the tree |
| Show package information | chdist apt-cache DIST show PACKAGE | Display package details from APT cache |
| Compare package versions | chdist compare-packages DIST1 DIST2 | List versions of packages in several distributions |
| Compare versions with dpkg | chdist compare-versions DIST1 DIST2 | Show where the package is newer |
| List available distributions | chdist list | List all created distribution trees |
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.
create DIST [URL RELEASE SECTIONS] Prepare a new tree named DISTapt DIST <update|source|show|showsrc|...> Run apt inside DISTapt-get DIST <update|source|...> Run apt-get inside DISTapt-cache DIST <show|showsrc|...> Run apt-cache inside DISTapt-file DIST <update|search|...> Run apt-file inside DISTapt-rdepends DIST [...] Run apt-rdepends inside DISTaptitude DIST [...] Run aptitude inside DISTsrc2bin DIST SRCPKG List binary packages for SRCPKG in DISTbin2src DIST BINPKG List source package for BINPKG in DISTcompare-packages DIST1 DIST2 [DIST3, ...] List versions of packages in several DISTributionscompare-bin-packages DIST1 DIST2 [DIST3, ...] List versions of binary packages in several DISTributionscompare-versions DIST1 DIST2 Same as compare-packages, but also runs dpkg --compare-versions and display where the package is newer.compare-bin-versions DIST1 DIST2 Same as compare-bin-packages, but also runs dpkg --compare-versions and display where the package is newer.compare-src-bin-packages DIST Compare sources and binaries for DISTcompare-src-bin-versions DIST Same as compare-src-bin-packages, but also run dpkg --compare-versions and display where the package is newergrep-dctrl-packages DIST [...] Run grep-dctrl on *_Packages inside DISTgrep-dctrl-sources DIST [...] Run grep-dctrl on *_Sources inside DISTlist List available DISTsThis 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 2026-03-04 CHDIST(1)
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-26 01:29 @216.73.217.127
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)