DOSE-DEB-COINSTALL(1)
π DOSE-DEB-COINSTALL(1) β the dose-debcoinstall glow-up
okay bestie, welcome to dose-debcoinstall, the little tool from the DOSE Tools fam that figures out whether a whole squad of Debian binary packages can actually be installed together. it's giving group project energy, but like, the kind that works out. π«Ά
β¨ SYNOPSIS β¨
dose-debcoinstall [options] binary-repositories
πΈ DESCRIPTION πΈ
so here's the vibe: dose-debcoinstall determines whether a set of foreground Debian binary packages can be installed together, given a set of background Debian binary packages. no cap. π§
if a valid coinstallation set exists, then it is printed on standard output. slay. if not? the application exits with exit code 1 and prints nothing. literally silence. π
if the --src option is given, then the associated source packages are printed on standard output instead. periodt.
now, packages are split into foreground and background: only packages in the foreground are checked for coinstallability, but dependencies may be satisfied by foreground packages and by background packages. by default, all packages are in the foreground. main character behavior for everyone. π
π₯ INPUT FORMAT π₯
the binary-repositories argument is a list of filenames containing stanzas in the format of deb-control(5), separated by one blank line. for instance, the Packages files as found on a Debian mirror server, or in the directory /var/lib/apt/lists/ of a Debian system, are suitable. π
the --src option requires a file containing debian source control stanzas, separated by one blank line. for instance, the Sources files as found on a Debian mirror server, or in the directory /var/lib/apt/lists/ of a Debian system, are suitable.
β¨ OPTIONS β¨
--deb-native-arch=nameβ specify the native architecture. the default behavior is to deduce the native architecture from the first package stanza in the input that has an architecture different from all. π¦--deb-foreign-archs=name [,name] ...β specify a comma-separated list of foreign architectures. the default is an empty list of foreign architectures. if--deb-host-archis set, it is used as an implicit foreign architecture.--deb-host-arch=name...β specify the host architecture. β οΈ if this option is given,--deb-native-archmust also be set. no exceptions bestie.-f,--failuresβ print a diagnostic in YAML format containing the list of packages that were attempted to install together and the result of the operation.-v,--successesβ only show packages that do not fail the installability check. (we're being positive today π)-e,--explainβ explain the results in more detail, providing the reason why some packages cannot be installed together. receipts, basically.--src=source-repositoryβ instead of printing binary packages, print the associated source packages as given in the debianSourcesfilesource-repository.--dump=cudf-fileβ dump the CUDF universe tocudf-file, representing the encoding of binary and source packages, plus the coinstallability request.--fg=binary-repositoryβ specify a foreground binary repository.--bg=binary-repositoryβ specify a background binary repository.--latest nβ consider only the latest-nmost recent versions of each package; older versions of packages are ignored.-vβ enable info / warnings / debug messages. this option may be repeated up to three times in order to increase verbosity. shout it out, bestie π£οΈ-h,--helpβ display this list of options.
π¨ ok bestie, listen β there are two different-vthings going on here. one is-v,--successesand the other is the lowercase-vverbosity counter. yes, fr fr. that's just how the page says it. don't come for me.
π¦ EXIT CODES π¦
exit codes 0-63 indicate a normal termination of the program. codes 64-127 indicate abnormal termination of the program (such as parse errors, I/O errors). π
in case of normal program termination:
- exit code
0indicates that a valid coinstallation set exists β - exit code
1indicates that at no coinstallation set exists β
π EXAMPLE π
compute the list of binary packages needed to install all packages marked as essential:
grep-dctrl -X -FEssential yes \
/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_sid_main_binary-amd64_Packages \
> essential
dose-debcoinstall --deb-native-arch=amd64 \
--bg /var/lib/apt/lists/ftp.fr.debian.org_debian_dists_sid_main_binary-amd64_Packages \
--fg essential > essential_coinstall
compute the list of source packages needed to build these packages:
dose-debcoinstall --deb-native-arch=amd64 \
--src /var/lib/apt/lists/ftp.fr.debian.org_debian_dists_sid_main_source_Sources \
--bg /var/lib/apt/lists/ftp.fr.debian.org_debian_dists_sid_main_binary-amd64_Packages \
--fg essential > essential_coinstall_src
π«Ά AUTHOR π«Ά
the current version has been rewritten on the basis of the dose3 library by Pietro Abate. giving credit where credit is due, always. π
π SEE ALSO π
deb-control(5)dose3-distcheck(1)
<http://www.edos-project.org> is the home page of the EDOS project. π
<http://www.mancoosi.org> is the home page of the Mancoosi project. π
okay that's the whole page, bestie, you ate it π this lil rewrite rides with DOSE Tools, dated 2026-07-06, and the original header said DOSE-DEB-COINSTALL(1) up top β now go coinstall some packages together, iconically. πβ¨
π¦ where this page comes from
- ubuntu stonking: dose-extra 7.0.0-8build2 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms