SYNOPSIS

sbuild-update [-h\[or]--help] [-V\[or]--version] [--arch=architecture] [-u\[or]--update] [-g\[or]--upgrade] [-d\[or]--dist-upgrade] [-c\[or]--clean] [-a\[or]--autoclean] [-r\[or]--autoremove] CHROOT1 [CHROOT2 [CHROOTn...]]

sbuild-update -k\[or]--keygen

(DEPRECATED) sbuild-upgrade [-h\[or]--help] [-V\[or]--version] CHROOT1 [CHROOT2 [CHROOTn...]]

(DEPRECATED) sbuild-distupgrade [-h\[or]--help] [-V\[or]--version] CHROOT1 [CHROOT2 [CHROOTn...]]

(DEPRECATED) sbuild-clean [-h\[or]--help] [-V\[or]--version] [-c\[or]--clean] [-a\[or]--autoclean] [-r\[or]--autoremove] CHROOT1 [CHROOT2 [CHROOTn...]]

DESCRIPTION

sbuild-update runs apt-get inside the specified chroot performing update, upgrade, dist-upgrade, clean, autoclean, and/or autoremove depending on the options specified on the command line.

sbuild-upgrade, sbuild-distupgrade, and sbuild-clean, are deprecated. They now simply run sbuild-update with the appropriate options (--upgrade or --dist-upgrade for sbuild-upgrade or sbuild-distupgrade respectively) along with whatever arguments were passed in the scripts.

OPTIONS

Actions

-h, --help

Display this manual.

-V, --version

Print version information.

--arch=architecture

Update chroot for the architecture specified.

-u, --update

Perform an apt-get update.

-g, --upgrade

Perform an apt-get upgrade.

-d, --dist-upgrade

Perform an apt-get dist-upgrade.

-c, --clean

Perform an apt-get clean.

-a, --autoclean

Perform an apt-get autoclean.

-r, --autoremove

Perform an apt-get autoremove.

-k, --keygen

Generate a GPG public/private key pair for self-signing local apt archives, used for installation of dependency packages. Note that this requires a significant amount of entropy (randomness) and may hang on systems with poor entropy sources, such as headless systems without direct user input. In this situation, it is advisable to create the key on a trusted local system, and copy the files to the build system by hand from /var/lib/sbuild/apt-keys/.

Chroot selection

CHROOT

The chroot to use. 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.

EXAMPLES

To update the unstable chroot:

% sbuild-update --update unstable

To upgrade the unstable chroot:

% sbuild-update --upgrade unstable

To clean the unstable chroot:

% sbuild-update --clean unstable

To perform an update, dist-upgrade, clean, autoclean, and autoremove for the unstable chroot:

% sbuild-update -udcar unstable

AUTHORS

Roger Leigh.
Andres Mejia.

COPYRIGHT

Copyright \[co] 2006\[en]2009 Roger Leigh <[email protected]>.
Copyright \[co] 2010 Andres Mejia <[email protected]>.

RELATED TO sbuild-update…