.\" Man page generated from reStructuredText .\" by the Docutils 0.22.3 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-CHECK-UPGRADE" "8" "Jan 19, 2026" "" "dnf5" .SH NAME dnf5-check-upgrade \- Check-Upgrade Command .SH SYNOPSIS .sp \fBdnf5 check\-upgrade [options] [...]\fP .SH DESCRIPTION .sp Non\-interactively checks for available updates of specified packages. If no \fB\fP is provided, it checks for updates for the entire system. .sp \fBDNF5\fP will exit with code \fI100\(ga\fP if updates are available and list them; \fI0\fP if no updates are available. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-changelogs\fP .nf Print the package changelogs. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-advisories=ADVISORY_NAME,...\fP .nf Include content contained in advisories with specified name. This is a list option. Expected values are advisory IDs, e.g. \fIFEDORA\-2201\-123\fP\&. Any transaction command (install, upgrade) will fail with an error if there is no existing advisory in the list; this can be bypassed by using the \-\-skip\-unavailable switch. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-advisory\-severities=ADVISORY_SEVERITY,...\fP .nf Include content contained in advisories with specified severity. This is a list option. Accepted values are: \fIcritical\fP, \fIimportant\fP, \fImoderate\fP, \fIlow\fP, \fInone\fP\&. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-bzs=BUGZILLA_ID,...\fP .nf Include content contained in advisories that fix a ticket of the given Bugzilla ID. This is a list option. Expected values are numeric IDs, e.g. \fI123123\fP\&. Any transaction command (install, upgrade) will fail with an error if there is no advisory fixing the given ticket; this can be bypassed by using the \-\-skip\-unavailable switch. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-cves=CVE_ID,...\fP .nf Include content contained in advisories that fix a ticket of the given CVE (Common Vulnerabilities and Exposures) ID. This is a list option. Expected values are string IDs in CVE format, e.g. \fICVE\-2201\-0123\fP\&. Any transaction command (install, upgrade) will fail with an error if there is no advisory fixing the given ticket; this can be bypassed by using the \-\-skip\-unavailable switch. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-security\fP .nf Include content contained in security advisories. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-bugfix\fP .nf Include content contained in bugfix advisories. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-enhancement\fP .nf Include content contained in enhancement advisories. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-newpackage\fP .nf Include content contained in newpackage advisories. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fB\-\-minimal\fP .nf Reports the lowest versions of packages that fix advisories of type bugfix, enhancement, security, or newpackage. In case that any option limiting advisories is used it reports the lowest versions of packages that fix advisories matching selected advisory properties\(dq .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 check\-upgrade\fP .nf Print a list of packages that have updates available. .fi .sp .TP .B \fBdnf5 check\-upgrade \-\-changelogs\fP .nf Print changelogs for all packages with pending updates. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fBdnf5\-specs(7)\fP, Patterns specification \%<#\:specs-misc-ref-label> .fi .sp .UNINDENT .UNINDENT .SH Author See AUTHORS.md in dnf5 source distribution. .SH Copyright Contributors to the dnf5 project. .\" End of generated man page.