SBUILD-APT(1)
β¨ SBUILD-APT(1) β¨
okay so bestie, this is sbuild-apt from the Debian sbuild fam β you're gonna love her, she's literally the "just run apt in the chroot for me" bestie π
π NAME π
sbuild-apt β run apt-get or apt-cache inside an sbuild chroot π«Ά
πΈ SYNOPSIS πΈ
sbuild-apt [-h|--help | -V|--version] CHROOT (apt-get|apt-cache) [ARG1
[ARG2 [ARGn...]]]
π DESCRIPTION π
So basically sbuild-apt runs apt-get(1) or apt-cache(1) inside the chroot you pick, and it passes along any extra arguments you throw at it. That's the whole vibe. Simple, iconic, does exactly what it says on the tin β¨
π¦ OPTIONS π¦
π Actions
-h,--helpβ shows you this manual, bestie. the "wait what does this do again" button π-V,--versionβ prints the version info. slay, now you know what you're running π
π Chroot selection
CHROOTβ the chroot where the command actually runs. and here's the cute shortcut moment: you can useo,s,t,uandeas abbreviations foroldstable,stable,testing,unstableandexperimentalrespectively π iykyk, saves you so much typing
β APT options
apt-getβ runapt-get. periodt.apt-cacheβ runapt-cache. also periodt.ARGβ extra arguments you want passed through toapt-getorapt-cache. send them straight through, no cap π
πΊ EXAMPLES πΊ
Wanna update the APT package lists in the unstable chroot? say less:
% sbuild-apt unstable apt-get update
heads up bestie: sbuild-update(1) is a more convenient method for doing the above, so maybe use that instead π
πΌ AUTHORS πΌ
Roger Leigh. π (yes, the whole author list. one legend.)
π COPYRIGHT π
Copyright Β© 2006β2008 Roger Leigh <rleigh@debian.org>.
π§ SEE ALSO π§
apt-cache(1), apt-get(1), sbuild(1), sbuild-update(1), sbuild-upgrade(1) β go read the whole friend group fr fr π
aaaand that's the page, bestie π this one's from Version 0.89.3+deb13u4, dated 28 December 2025 β mwah, go run some apt commands in a chroot, you got this π«Άβ¨
π¦ where this page comes from
- debian trixie: sbuild 0.89.3+deb13u4 Β· GPL-2.0-or-later
- Copyright Β© 2005-2008 Roger Leigh <rleigh@debian.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms