-
Notifications
You must be signed in to change notification settings - Fork 0
/
update-pkg.8
39 lines (39 loc) · 901 Bytes
/
update-pkg.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.\" $Id$
.TH UPDATE-PKG 8 "July 2018" "FreeBSD" "User Manuals"
.SH NAME
update-pkg \- Easy update for packages with pkg
.SH SYNOPSIS
.TP
.B update-pkg [/path/to/jail]
.SH DESCRIPTION
.TP procedure
.B update-pkg
is a script to update the installed packages with pkg on FreeBSD hosts and jails.
.br
.TP
Step 1: pkg upgrade
.TP
Step 2: pkg autoremove
.TP
Step 3: pkg clean
.TP
Step 4: list packages that are missing in the package repository.
.TP
Step 5: list packages that are drepreacted.
.TP
Step 6: list packages that have an expiration date.
.TP
Step 7: list packages with known vulnerabilities.
.SH "FILES"
.TP
.B /usr/local/etc/jails.txt
Packages will be updated for each path listed.
.TP
.B /usr/src/jails-${HOSTNAME}-${ARCH}.txt
Packages will be updated for each path listed if jails.txt is not found.
.SH "SEE ALSO"
.TP
.B pkg(8)
manipulate packages
.SH "AUTHOR"
Dirk Meyer, [email protected]