SYNOPSIS

sbuild-apt [-h\[or]--help \[or] -V\[or]--version] CHROOT (apt-get\[or]apt-cache) [ARG1 [ARG2 [ARGn...]]]

DESCRIPTION

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 \[oq]o\[cq], \[oq]s\[cq], \[oq]t\[cq], \[oq]u\[cq] and \[oq]e\[cq] may be used as abbreviations for \[oq]oldstable\[cq], \[oq]stable\[cq], \[oq]testing\[cq], \[oq]unstable\[cq] and \[oq]experimental\[cq], 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.

AUTHORS

Roger Leigh.

COPYRIGHT

Copyright \[co] 2006\[en]2008 Roger Leigh <[email protected]>.

RELATED TO sbuild-apt…

apt-cache(1), apt-get(1), sbuild(1), sbuild-update(1), sbuild-upgrade(1).