Debian Codegraph @

upstream/opensuse-leap-16-1/man8/dnf5-upgrade.8

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "DNF5-UPGRADE" "8" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-upgrade \- Upgrade Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 upgrade [options] [<package\-spec>|@<group\-spec>|@<environment\-spec>...]\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBupgrade\fP command in \fBDNF5\fP is used for upgrading installed packages, groups or
39 environments to newer available version.
40 .sp
41 Since groups and environments are not versioned the upgrade basically means a synchronization
42 with the currently available definition. In addition group upgrade also upgrades all packages
43 the group contains and environment upgrade also upgrades all groups the environment contains.
44 .SH OPTIONS
45 .INDENT 0.0
46 .TP
47 .B \fB\-\-minimal\fP
48 .nf
49 Upgrade packages only to the lowest available versions that fix advisories of type bugfix, enhancement, security, or
50 newpackage. In case that any option limiting advisories is used it upgrades packages only to the lowest versions
51 that fix advisories matching selected advisory properties
52 .fi
53 .sp
54 .TP
55 .B \fB\-\-allowerasing\fP
56 .nf
57 Allow removing of installed packages to resolve any potential dependency problems.
58 .fi
59 .sp
60 .TP
61 .B \fB\-\-skip\-unavailable\fP
62 .nf
63 Allow skipping packages that are not possible to upgrade. All remaining packages will be upgraded.
64 .fi
65 .sp
66 .TP
67 .B \fB\-\-allow\-downgrade\fP
68 .nf
69 Enable downgrade of dependencies when resolving the requested operation.
70 .fi
71 .sp
72 .TP
73 .B \fB\-\-no\-allow\-downgrade\fP
74 .nf
75 Disable downgrade of dependencies when resolving the requested operation.
76 .fi
77 .sp
78 .TP
79 .B \fB\-\-destdir=<path>\fP
80 .nf
81 Set directory used for downloading packages to. Default location is to the current working directory.
82 Automatically sets the \fBdownloadonly\fP option.
83 .fi
84 .sp
85 .TP
86 .B \fB\-\-downloadonly\fP
87 .nf
88 Only download packages for transaction.
89 .fi
90 .sp
91 .TP
92 .B \fB\-\-offline\fP
93 .nf
94 Store the transaction to be performed offline. See \fBdnf5\-offline(8)\fP, \fI\%Offline command\fP\&.
95 .fi
96 .sp
97 .TP
98 .B \fB\-\-advisories=ADVISORY_NAME,...\fP
99 .nf
100 Consider only content contained in advisories with specified name.
101 This is a list option.
102 Expected values are advisory IDs, e.g. \fIFEDORA\-2201\-123\fP\&.
103 .fi
104 .sp
105 .TP
106 .B \fB\-\-advisory\-severities=ADVISORY_SEVERITY,...\fP
107 .nf
108 Consider only content contained in advisories with specified severity.
109 This is a list option.
110 Accepted values are: \fIcritical\fP, \fIimportant\fP, \fImoderate\fP, \fIlow\fP, \fInone\fP\&.
111 .fi
112 .sp
113 .TP
114 .B \fB\-\-bzs=BUGZILLA_ID,...\fP
115 .nf
116 Consider only content contained in advisories that fix a ticket of given Bugzilla ID.
117 This is a list option.
118 Expected values are numeric IDs, e.g. \fI123123\fP\&.
119 .fi
120 .sp
121 .TP
122 .B \fB\-\-cves=CVE_ID,...\fP
123 .nf
124 Consider only content contained in advisories that fix a ticket of given CVE (Common Vulnerabilities and Exposures) ID.
125 This is a list option.
126 Expected values are string IDs in CVE format, e.g. \fICVE\-2201\-0123\fP\&.
127 .fi
128 .sp
129 .TP
130 .B \fB\-\-security\fP
131 .nf
132 Consider only content contained in security advisories.
133 .fi
134 .sp
135 .TP
136 .B \fB\-\-bugfix\fP
137 .nf
138 Consider only content contained in bugfix advisories.
139 .fi
140 .sp
141 .TP
142 .B \fB\-\-enhancement\fP
143 .nf
144 Consider only content contained in enhancement advisories.
145 .fi
146 .sp
147 .TP
148 .B \fB\-\-newpackage\fP
149 .nf
150 Consider only content contained in newpackage advisories.
151 .fi
152 .sp
153 .UNINDENT
154 .SH EXAMPLES
155 .INDENT 0.0
156 .TP
157 .B \fBdnf5 upgrade\fP
158 .nf
159 Upgrade all installed packages to the newest available version.
160 .fi
161 .sp
162 .TP
163 .B \fBdnf5 upgrade tito\fP
164 .nf
165 Upgrade the \fBtito\fP package.
166 .fi
167 .sp
168 .UNINDENT
169 .SH SEE ALSO
170 .INDENT 0.0
171 .INDENT 3.5
172 .nf
173 \fBdnf5\-advisory(8)\fP, \fI\%Advisory command\fP
174 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
175 .fi
176 .sp
177 .UNINDENT
178 .UNINDENT
179 .SH AUTHOR
180 See AUTHORS.md in dnf5 source distribution.
181 .SH COPYRIGHT
182 Contributors to the dnf5 project.
183 .\" Generated by docutils manpage writer.
184 .