sbuild-apt(1)

sbuild-apt1

Run apt-get or apt-cache in an sbuild chroot

Usage

sbuild-apt {[{-h | --help | -V | --version}] CHROOT (apt-get | apt-cache) [ARG1 [ARG2 [ARGn ...]]]}

Overview

sbuild-apt runs apt-get(1) or apt-cache(1) inside the specified chroot, along with any additional arguments.

Options

Actions

-h, --help

Display this manual.

-V, --version

Print version information.

Chroot selection

CHROOT

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.

APT options

apt-get

Run apt-get.

apt-cache

Run apt-cache.

ARG

Additional arguments to pass to apt-get or apt-cache.

Examples

To update the APT package lists in the unstable chroot:

% sbuild-apt unstable apt-get update

Note that sbuild-update(1) is a more convenient method for doing the above.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

Authors

Roger Leigh.

From sbuild 0.89.3+deb13u4 in Debian 13 (Trixie). Parsed by carta from the page's man source.