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 (if allow_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 on bootc (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 @System repository). 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-unavailable switch. ⚠️ 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-unavailable switch. ⚠️ 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-unavailable switch. ⚠️ 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 πŸ”₯

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. πŸ’…


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