DPKG-CHECKDEPS.RB(1)
π DPKG-CHECKDEPS.RB β bestie edition π
okay so you know how dpkg will just. install stuff. and then be like "lol dependency problems"? yeah. this is the little script that tells you before that happens. it's dpkg-checkdeps.rb, it lives in the General Commands Manual corner of the Debian universe, and honestly? it's giving "underappreciated icon". let's get into it π«Ά
β¨ NAME β¨
dpkg-checkdeps.rb β a utility to check deb dependency, no cap π
πΈ SYNOPSIS πΈ
dpkg-checkdeps.rb [opts] debfile ...
dpkg-checkdeps.rb [opts] --from packages pkgname...
dpkg-checkdeps.rb [opts] --from --all
dpkg-checkdeps.rb [opts] --check pkgname...
opts: --to packages
--arch arch
--verbose
-q
like. four whole ways to run it. pick your fighter. β¨
π¦ DESCRIPTION π¦
so here's the tea, bestie β: dpkg-checkdeps.rb checks deb dependency problems when the deb packages you picked are installed in the target packages list. that's it. that's the whole vibe. you say "what if these guys were installed" and it says "okay and here's what would break". π₯
π OPTIONS π
-tpackages-file,--topackages-file β specify the target packages-file. use it more than once and the packages lists just get appended, one after another, like a lil stack π₯. and if you don't pass-tat all? default is your currently installed packages list, aka/var/lib/dpkg/status. iconic default behaviour tbh.-fpackages-file,--frompackages-file β specify the source packages-file. multiple uses = multiple appends, same deal as above. and once you've used this one, you can pick packages by package-name, or grab literally all of them with--all. π-A,--allβ select all packages in the source packages-file. π«Ά > heads up bestie: you must use this together with--from. it does not fly solo. not even a little.-aarch,--archarch β specify acceptable arch in packages-file. default isinstallation_architectureof dpkg. (yes, that's literally the name of the dpkg value. i don't make the rules π)-c,--checkβ check that the selected packages are satisfied by all packages in target packages. the moment of truth. the vibe check itself. β-v,--verboseβ verbose mode. it says more words. we love a chatty queen π£οΈ-h,--helpβ display some help. "some" help. the specific amount of help is not specified. π€‘
π EXAMPLES π
% dpkg-checkdeps.rb --arch alpha --to '*/binary-$ARCH/Packages'
--from ../proposed-updates/Packages' --all
% dpkg-checkdeps.rb --to '*/binary-$ARCH/Packages' --check libc6
look at those globs. look at that $ARCH. we're arch-checking and pulling from a whole other directory, slay π¦. and the second one is just "hey does libc6 survive in there" which is, honestly, the most relatable question a Debian user can ask. π
π BUGS π
- there are probably tons of bugs in this program. fr fr. not a vibe, just the truth.
- this checks only depends, recommends and suggests. it doesn't check pre-depends and conflicts. yet. π
- this program comes with no warranties. and bestie, read this next part slowly: if running this program causes fire and brimstone to rain down upon the earth, you will be on our own. π₯π§οΈ like. we will not be there. you are the main character and the consequences are yours. π
π AUTHOR π
Fumitoshi UKAI <ukai@debian.or.jp>. π«Ά absolute legend, we stan.
k that's the whole page!! this lil guide came to you from the DEBIAN crew under Debian Utilities, and its own header said DPKG-CHECKDEPS.RB(1) β a name so nice it appears twice on the page, because that's just how manpages do. run it, check your deps, stay hydrated, and don't let the brimstone get you πβ¨π
π¦ where this page comes from
- debian bookworm: ruby-debian 0.3.10+b8 Β· GPL-2.0-or-later
- debian trixie: ruby-debian 0.3.10+b13 Β· GPL-2.0-or-later
- ubuntu jammy: ruby-debian 0.3.10build4 Β· GPL-2.0-or-later
- ubuntu noble: ruby-debian 0.3.10build10 Β· GPL-2.0-or-later
- ubuntu questing: ruby-debian 0.3.10build12
- ubuntu resolute: ruby-debian 0.3.12 Β· GPL-2.0-or-later
- ubuntu stonking: ruby-debian 0.3.12 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms