DNF5-CHECK-UPGRADE(8)
β¨ DNF5-CHECK-UPGRADE β¨
okay bestie, gather round, because this is the dnf5 manual page for check-upgrade (it lives in section 8 of the manual, iykyk) and it's genuinely so useful it's giving main character energy π
π NAME π
dnf5-check-upgrade β the Check-Upgrade Command, aka your little update-detector bestie π¦
πΈ SYNOPSIS πΈ
dnf5 check-upgrade [options] [<package-spec-N>...]
π DESCRIPTION π
So basically: this command checks for available updates of the packages you specify, and it does it non-interactively β no prompts, no drama, it just looks and tells you. π«Ά
If you don't hand it any <package-spec-N>, it checks for updates across the entire system. The whole vibe check, everything, all of it.
Here's the part you actually need to remember, no cap:
- DNF5 exits with code
100if updates are available, and lists them for you. - DNF5 exits with code
0if no updates are available. peaceful. serene. nothing to do. π
And if a terminal is available, the package list gets colored, which is iconic honestly:
- packages available for reinstall are (by default) colored bold green π
- packages available for upgrade are colored bold blue π
You can tweak that whole situation in dnf5.conf(5) via the color_list_available_upgrade and color_list_available_reinstall options. Customize your aesthetic, you deserve it. β¨
π₯ OPTIONS π₯
--changelogsβ print the package changelogs. the lore. the backstory. π--advisories=ADVISORY_NAME,...β include content contained in advisories with the specified name. This is a list option. Expected values are advisory IDs, e.g.FEDORA-2201-123.
heads up bestie: any transaction command (install,upgrade) will fail with an error if there's no existing advisory in the list. You can bypass that with the--skip-unavailableswitch. π
--advisory-severities=ADVISORY_SEVERITY,...β include content contained in advisories with the specified severity. This is a list option. Accepted values are:critical,important,moderate,low,none.--bzs=BUGZILLA_ID,...β 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.123123.
same deal: any transaction command (install,upgrade) will fail with an error if there's no advisory fixing the given ticket. Bypass it with--skip-unavailable. π
--cves=CVE_ID,...β 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.CVE-2201-0123.
yep, you guessed it: any transaction command (install,upgrade) will fail with an error if there's no advisory fixing the given ticket.--skip-unavailableis your escape hatch. πͺ
--securityβ include content contained in security advisories. π--bugfixβ include content contained in bugfix advisories. ππ¨--enhancementβ include content contained in enhancement advisories. β¬οΈβ¨--newpackageβ include content contained in newpackage advisories. π--minimalβ reports the lowest versions of packages that fix advisories of typebugfix,enhancement,security, ornewpackage. In case that any option limiting advisories is used it reports the lowest versions of packages that fix advisories matching selected advisory properties"--jsonβ request JSON output format. for the machine girlies π€
π EXAMPLES π
dnf5 check-upgrade
Print a list of packages that have updates available. π
dnf5 check-upgrade --changelogs
Print changelogs for all packages with pending updates. ππ
π JSON OUTPUT π
dnf5 check-upgrade --json
The command returns a JSON object with the following structure:
- keys represent a section of the βprettyβ CLI output
- values represent the packages in that section as an array of objects with the following structure:
name(string): package namearch(string): package architectureevr(string): available update versionrepository(string): repository ID from which the update is availableobsoletes(array): (only for the βObsoleting packagesβ section) list of the packages that obsolete this package (they have the same structure as above, omittingobsoletes)
π¦ SEE ALSO π¦
dnf5-specs(7)- Patterns specification
<#specs-misc-ref-label>
π Author π
See AUTHORS.md in dnf5 source distribution. (the whole squad, fr fr π«Ά)
π Copyright π
Contributors to the dnf5 project.
okay that's the whole page bestie, you ate it, go check some upgrades π β¨
this was dnf5's page, dated Sep 24, 2026, and yes the footer really does say DNF5-CHECK-UPGRADE(8) down there. slay. π
π¦ where this page comes from
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms