DNF5-UPGRADE(8)
β¨ DNF5-UPGRADE β¨
okay bestie, welcome to dnf5-upgrade β the dnf5 manual page, section 8, and honestly? it's giving glow-up. π
π NAME π
dnf5-upgrade β the Upgrade Command. that's it, that's the name, we're going. π«Ά
π¦ SYNOPSIS π¦
dnf5 upgrade [options]
[<package-spec-NPFB>|@<group-spec>|@<environment-spec>...]
so like, you run it with [options], and then optionally a whole lil guest list of <package-spec-NPFB> specs, or @<group-spec>s, or @<environment-spec>s. mix and match, it's your party. π
πΈ DESCRIPTION πΈ
The upgrade command in DNF5 is literally here to upgrade installed packages, groups or environments to newer available version. glow up szn. β¨
and here's the tea about groups and environments: since groups and environments are not versioned, the upgrade basically means a synchronization with the currently available definition. no cap. in addition, group upgrade also upgrades all packages the group contains, and environment upgrade also upgrades all groups the environment contains. it cascades, bestie. it's giving β¨domino effectβ¨.
π OPTIONS π
the main character section. buckle up, there's a lot and we're doing every single one.
--minimalβ Upgrade packages only to the lowest available versions that fix advisories of type bugfix, enhancement, security, or newpackage. In case that any option limiting advisories is used it upgrades packages only to the lowest versions that fix advisories matching selected advisory properties. lowkey the "do the bare minimum but make it secure" option. π--allowerasingβ Allow removing of installed packages to resolve any potential dependency problems. sometimes you gotta let go to grow, bestie. π--skip-unavailableβ Allow skipping packages that are not possible to upgrade. All remaining packages will be upgraded. not everyone makes it to the function, and that's okay. π--allow-downgradeβ Enable downgrade of dependencies when resolving the requested operation.--no-allow-downgradeβ Disable downgrade of dependencies when resolving the requested operation. (yes, it's the other one. we contain multitudes.)--destdir=<path>β Set directory used for downloading packages to. Default location is to the current working directory. Automatically sets the downloadonly option. it's giving "I want my packages here, actually". π--installed-from-repo=REPO_ID,...β Filters installed packages by the ID of the repository they were installed from. iykyk. π¦--from-repo=REPO_ID,...β Packages (or their provides) explicitly specified on the command line will only be looked up in the specified repositories. These repositories are automatically enabled. Repository enabling and disabling still applies. Dependencies of these packages will be resolved from any enabled repository. so like, the explicit ones are picky, the deps are not. π--from-vendor=VENDOR,...β List of vendors separated by commas or spaces. Globs are supported (e.g.,--from-vendor='Fedora\ project, vendorA, vendorB*, vendorC'). Packages (or their provides) explicitly specified on the command line will only be looked up from the specified vendors. The vendor change check is bypassed for these packages. The vendor is ignored or vendor change policies (ifallow_vendor_change=0) will still be used for packages that satisfy dependencies. glob city, population: you. π--downloadonlyβ Only download packages for transaction. look, don't touch. π--offlineβ Store the transaction to be performed offline. See offline command <#offline-command-ref-label>,dnf5-offline(8). we're doing this later, bestie. β--transientβ Applicable only onbootc(bootable containers) systems. Perform transactions using a transient overlay which will be lost on the next reboot. See also the persistence <#persistence-options-label> configuration option. it's giving temporary tattoo. gone after reboot, no notes. π₯--store=PATHβ Store the current transaction in a directory at the specified PATH instead of running it. The stored transaction can be performed by the replay command <#replay-command-ref-label>,dnf5-replay(8). Note that repository ids in the stored transaction are mangled to@stored_transaction(repo_id)this is required because during replaying the stored repositories are recreated and they might collide with already present repositories (this doesn't apply to the special@Systemrepository). yes the mangling is real and yes it's on purpose, don't come for it. π--advisories=ADVISORY_NAME,...β Include content contained in advisories with specified name. This is a list option. Expected values are advisory IDs, e.g.FEDORA-2201-123. 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-unavailableswitch. β οΈ no advisory, no service β unless you skip.--advisory-severities=ADVISORY_SEVERITY,...β Include content contained in advisories with specified severity. This is a list option. Accepted values are:critical,important,moderate,low,none. pick your drama level. π--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. 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-unavailableswitch. β οΈ same energy as above, fr fr.--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. 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-unavailableswitch. β οΈ security girlies, this one's for you. π--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. π
π§ EXAMPLES π§
the part where we actually show you, because reading is one thing and doing is another. π
dnf5 upgrade
Upgrade all installed packages to the newest available version. everyone gets a glow up, no one left behind. π
dnf5 upgrade tito
Upgrade the tito package. just tito. tito's moment. π
π₯ SEE ALSO π₯
dnf5-advisory(8), Advisory command <#advisory-command-ref-label>dnf5-specs(7), Patterns specification <#specs-misc-ref-label>
go read those too, bestie, knowledge is free and it's slaying. π
π Author π
See AUTHORS.md in dnf5 source distribution. the girlies who built this. π
π Copyright π
Contributors to the dnf5 project.
and that's the whole page, bestie β dnf5 manual, section 8, page DNF5-UPGRADE(8), dated Sep 24, 2026. you ate. no cap. periodt. π«Άβ¨π
π¦ 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