update-kernel/update-kernel.8

60 lines
1.5 KiB
Groff

.TH update-kernel 8 "October 04, 2022" "update-kernel 8"
.SH NAME
update-kernel \- update kernel tool
.SH SYNOPSIS
.B update-kernel
[options]
.SH DESCRIPTION
update\-kernel \- script to conveniently update kernel and modules.
.PP
It works by installing a new package set along with existing kernel
so that you don\'t end up without a kernel guaranteed to boot (your
good old one); by default, it will look for the most recent package
of the same flavour (e.g. "std\-def") and try to install all the same
modules as already installed for that.
.SH OPTIONS
.TP
\-l, \-\-list
list available kernels
.TP
\-a, \-\-all
install all kernel modules
.TP
\-i, \-\-interactive
interactive modules install
.TP
\-f, \-y, \-\-force
force kernel upgrade
.TP
\-t, \-\-type
install kernel with specified flavour (ovz\-smp, std\-def, etc)
.TP
\-r, \-\-release
desired kernel release
(allowed formats by example:
old format: alt1, 5.7.19\-alt1
classic kernel release: 5.7.19\-std\-def\-alt1
package name: [kernel\-image\-]std\-def\-5.7.19\-alt1)
.TP
\-n, \-\-dry-run
download packages, but don't install (\-\-download\-only)
.TP
\-h, \-\-help
show this text and exit
.SH EXAMPLES
.TP
Download and install last un-def kernel:
.B update-kernel -t un-def
.PP
.TP
Download and install specific kernel version:
.B update-kernel -r 5.15.70-un-def-alt1
.PP
.SH EXIT STATUS
update-kernel returns a zero exist status if it succeeds.
Non zero is returned in case of failure.
.SH AUTHOR
Anton Shevtsov (shevtsov.anton (at) gmail.com)
.SH SEE ALSO
apt-get(8)