sbuild-clean

Langue: en

Version: 23 Feb 2010 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

sbuild-clean - clean an sbuild chroot with apt-get

SYNOPSIS

sbuild-clean [-h|--help] [-V|--version] [-c|--clean] [-a|--autoclean] [-r|--autoremove] CHROOT1 [CHROOT2 [CHROOTn...]]

DESCRIPTION

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

OPTIONS

Actions

-h, --help
Display this manual.
-V, --version
Print version information.
-c, --clean
Perform an apt-get clean. This is the default if no options are specified.
-a, --autoclean
Perform an apt-get autoclean.
-r, --autoremove
Perform an apt-get autoremove.

Chroot selection

CHROOT
The chroot to use. Note that 'o', 's', 't', 'u' and 'e' may be used as abbreviations for 'oldstable', 'stable', 'testing', 'unstable' and 'experimental', respectively.

EXAMPLES

To clean the unstable chroot:

% sbuild-clean --clean unstable

To perform an autoremove on the unstable chroot:

% sbuild-clean --autoremove unstable

To perform both n clean and an autoremove for the unstable chroot:

% sbuild-clean -cr unstable

AUTHORS

 Roger Leigh.
 
 Copyright © 2006-2009 Roger Leigh <rleigh@debian.org>.
 

SEE ALSO

sbuild(1), sbuild-apt(1),