dnf5 upgrade [options] [<package-spec>...]
The upgrade
command in DNF5
is used for upgrading installed packages to the newer available version.
--minimal
- Update packages only to the lowest available version that provides bug fixes, enhancements, or security fixes.
--allowerasing
- Allow erasing of installed packages to resolve any potential dependency problems.
--skip-unavailable
- Allow skipping packages that are not possible to upgrade. All remaining packages will be upgraded.
--allow-downgrade
- Enable downgrade of dependencies when resolving the requested operation.
--no-allow-downgrade
- Disable downgrade of dependencies when resolving the requested operation.
--destdir=<path>
- Set directory used for downloading packages to. Default location is to the current working directory.
Automatically sets thedownloadonly
option. --downloadonly
- Only download packages for transaction.
--offline
- Store the transaction to be performed offline. See
dnf5-offline(8)
,Offline command <offline_command_ref-label>
. --advisories=ADVISORY_NAME,...
- Consider only content contained in advisories with specified name.
This is a list option.
Expected values are advisory IDs, e.g. FEDORA-2201-123. --advisory-severities=ADVISORY_SEVERITY,...
- Consider only content contained in advisories with specified severity.
This is a list option.
Accepted values are: critical, important, moderate, low, none. --bzs=BUGZILLA_ID,...
- Consider only content contained in advisories that fix a ticket of given Bugzilla ID.
This is a list option.
Expected values are numeric IDs, e.g. 123123. --cves=CVE_ID,...
- Consider only content contained in advisories that fix a ticket of 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. --security
- Consider only content contained in security advisories.
--bugfix
- Consider only content contained in bugfix advisories.
--enhancement
- Consider only content contained in enhancement advisories.
--newpackage
- Consider only content contained in newpackage advisories.
dnf5 upgrade
- Upgrade all installed packages to the newest available version.
dnf5 upgrade tito
- Upgrade the
tito
package.
dnf5-advisory(8)
,Advisory command <advisory_command_ref-label>
dnf5-specs(7)
,Patterns specification <specs_misc_ref-label>