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
|
Run apt-get. |
|---|---|
|
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.