'\" t
.\" Title: debspawn-update
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1
.\" Date: 18 August, 2018
.\" Manual: debspawn update
.\" Source: DebSpawn
.\" Language: English
.\"
.TH "DEBSPAWN\-UPDATE" "1" "" "DebSpawn" "debspawn update"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
debspawn-update \- Update a container image
.SH "SYNOPSIS"
.HP \w'\fBdebspawn\ update\fR\ 'u
\fBdebspawn update\fR [\-h|\-\-help] [\-\-variant] [\-a|\-\-arch] {SUITE}
.SH "DESCRIPTION"
.PP
Update a container base image\&. This achieves the same thing as running
\fBapt update && apt full\-upgrade\fR
on the base image and making the changes permanent\&. Additionally,
\fBdebspawn update\fR
will prune all caches and ensure all required packages and scripts are installed in the container image\&.
.PP
Running
\fBdebspawn update\fR
on the images that are in use about once a week ensures builds will happen faster, due to less changes that have to be done prior to each build\&.
.SH "EXAMPLES"
.PP
Updating images is easy, you just pass the same arguments you used for creating them, but use the
\fBupdate\fR
subcommand instead:
.sp
.if n \{\
.RS 4
.\}
.nf
$ \fBdebspawn update\fR sid
$ \fBdebspawn update\fR \-\-arch=i386 cosmic
.fi
.if n \{\
.RE
.\}
.SH "OPTIONS"
.PP
\-h|\-\-help
.RS 4
Print brief help information about available commands\&.
.RE
.PP
\-\-variant
.RS 4
Set the variant of the selected image, that was used for bootstrapping\&.
.RE
.PP
\-a|\-\-arch
.RS 4
The architecture of the base image that should be selected\&.
.RE
.SH "SEE ALSO"
.PP
debspawn\-create(1), debspawn\-build(1)\&.
.SH "AUTHOR"
.PP
This manual page was written by Matthias Klumpp
\&.
.SH "COPYRIGHT"
.br
Copyright \(co 2018 Matthias Klumpp
.br