sbuild-apt - run apt-get or apt-cache in an sbuild chroot
Contents
Copyright
Copyright © 2006–2008 Roger Leigh <rleigh@debian.org>.
Description
sbuild-apt runs apt-get(1) or apt-cache(1) inside the specified chroot, along with any additional arguments.
Examples
To update the APT package lists in the unstable chroot:
% sbuild-aptunstableapt-getupdate
Note that sbuild-update(1) is a more convenient method for doing the above.
Name
sbuild-apt - run apt-get or apt-cache in an sbuild chroot
Options
Actions-h, --help
Display this manual.
-V, --version
Print version information.
ChrootselectionCHROOT The chroot to run the command in. Note that ‘o’, ‘s’, ‘t’, ‘u’ and ‘e’ may be used as
abbreviations for ‘oldstable’, ‘stable’, ‘testing’, ‘unstable’ and ‘experimental’, respectively.
APToptionsapt-get
Run apt-get.
apt-cache
Run apt-cache.
ARG Additional arguments to pass to apt-get or apt-cache.
See Also
apt-cache(1), apt-get(1), sbuild(1), sbuild-update(1), sbuild-upgrade(1). Version 0.88.3ubuntu2.1 02 May 2025 SBUILD-APT(1)
Synopsis
sbuild-apt [-h|--help | -V|--version] CHROOT (apt-get|apt-cache) [ARG1 [ARG2 [ARGn...]]]
