| 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-CHECK-UPGRADE" "8" "Apr 29, 2025" "" "dnf5" |
| 31 |
.SH NAME |
| 32 |
dnf5-check-upgrade \- Check-Upgrade Command |
| 33 |
.SH SYNOPSIS |
| 34 |
.sp |
| 35 |
\fBdnf5 check\-upgrade [options] [<package\-spec>...]\fP |
| 36 |
.SH DESCRIPTION |
| 37 |
.sp |
| 38 |
Non\-interactively checks for available updates of specified packages. If no \fB<package\-spec>\fP |
| 39 |
is provided, it checks for updates for the entire system. |
| 40 |
.sp |
| 41 |
\fBDNF5\fP will exit with code \fI100\(ga\fP if updates are available and list them; \fI0\fP if no updates |
| 42 |
are available. |
| 43 |
.SH OPTIONS |
| 44 |
.INDENT 0.0 |
| 45 |
.TP |
| 46 |
.B \fB\-\-changelogs\fP |
| 47 |
.nf |
| 48 |
Print the package changelogs. |
| 49 |
.fi |
| 50 |
.sp |
| 51 |
.TP |
| 52 |
.B \fB\-\-advisories=ADVISORY_NAME,...\fP |
| 53 |
.nf |
| 54 |
Consider only content contained in advisories with specified name. |
| 55 |
This is a list option. |
| 56 |
Expected values are advisory IDs, e.g. \fIFEDORA\-2201\-123\fP\&. |
| 57 |
.fi |
| 58 |
.sp |
| 59 |
.TP |
| 60 |
.B \fB\-\-advisory\-severities=ADVISORY_SEVERITY,...\fP |
| 61 |
.nf |
| 62 |
Consider only content contained in advisories with specified severity. |
| 63 |
This is a list option. |
| 64 |
Accepted values are: \fIcritical\fP, \fIimportant\fP, \fImoderate\fP, \fIlow\fP, \fInone\fP\&. |
| 65 |
.fi |
| 66 |
.sp |
| 67 |
.TP |
| 68 |
.B \fB\-\-bzs=BUGZILLA_ID,...\fP |
| 69 |
.nf |
| 70 |
Consider only content contained in advisories that fix a ticket of given Bugzilla ID. |
| 71 |
This is a list option. |
| 72 |
Expected values are numeric IDs, e.g. \fI123123\fP\&. |
| 73 |
.fi |
| 74 |
.sp |
| 75 |
.TP |
| 76 |
.B \fB\-\-cves=CVE_ID,...\fP |
| 77 |
.nf |
| 78 |
Consider only content contained in advisories that fix a ticket of given CVE (Common Vulnerabilities and Exposures) ID. |
| 79 |
This is a list option. |
| 80 |
Expected values are string IDs in CVE format, e.g. \fICVE\-2201\-0123\fP\&. |
| 81 |
.fi |
| 82 |
.sp |
| 83 |
.TP |
| 84 |
.B \fB\-\-security\fP |
| 85 |
.nf |
| 86 |
Consider only content contained in security advisories. |
| 87 |
.fi |
| 88 |
.sp |
| 89 |
.TP |
| 90 |
.B \fB\-\-bugfix\fP |
| 91 |
.nf |
| 92 |
Consider only content contained in bugfix advisories. |
| 93 |
.fi |
| 94 |
.sp |
| 95 |
.TP |
| 96 |
.B \fB\-\-enhancement\fP |
| 97 |
.nf |
| 98 |
Consider only content contained in enhancement advisories. |
| 99 |
.fi |
| 100 |
.sp |
| 101 |
.TP |
| 102 |
.B \fB\-\-newpackage\fP |
| 103 |
.nf |
| 104 |
Consider only content contained in newpackage advisories. |
| 105 |
.fi |
| 106 |
.sp |
| 107 |
.TP |
| 108 |
.B \fB\-\-minimal\fP |
| 109 |
.nf |
| 110 |
Reports the lowest versions of packages that fix advisories of type bugfix, enhancement, security, or |
| 111 |
newpackage. In case that any option limiting advisories is used it reports the lowest versions of packages |
| 112 |
that fix advisories matching selected advisory properties\(dq |
| 113 |
.fi |
| 114 |
.sp |
| 115 |
.UNINDENT |
| 116 |
.SH EXAMPLES |
| 117 |
.INDENT 0.0 |
| 118 |
.TP |
| 119 |
.B \fBdnf5 check\-upgrade\fP |
| 120 |
.nf |
| 121 |
Print a list of packages that have updates available. |
| 122 |
.fi |
| 123 |
.sp |
| 124 |
.TP |
| 125 |
.B \fBdnf5 check\-upgrade \-\-changelogs\fP |
| 126 |
.nf |
| 127 |
Print changelogs for all packages with pending updates. |
| 128 |
.fi |
| 129 |
.sp |
| 130 |
.UNINDENT |
| 131 |
.SH SEE ALSO |
| 132 |
.INDENT 0.0 |
| 133 |
.INDENT 3.5 |
| 134 |
.nf |
| 135 |
\fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP |
| 136 |
.fi |
| 137 |
.sp |
| 138 |
.UNINDENT |
| 139 |
.UNINDENT |
| 140 |
.SH AUTHOR |
| 141 |
See AUTHORS.md in dnf5 source distribution. |
| 142 |
.SH COPYRIGHT |
| 143 |
Contributors to the dnf5 project. |
| 144 |
.\" Generated by docutils manpage writer. |
| 145 |
. |