Scroll to navigation

DNF5-DOWNGRADE(8) dnf5 DNF5-DOWNGRADE(8)

NAME

dnf5-downgrade - Downgrade Command

SYNOPSIS

dnf5 downgrade [options] <package-spec>...

DESCRIPTION

The downgrade command in DNF5 is used to downgrade each package specified in package-spec list to the highest installable version of all known lower versions if possible. When the version is explicitly given in the argument and it is lower than the version of the installed package then it downgrades to this one.

OPTIONS

Allow erasing of installed packages to resolve any potential dependency problems.

Resolve any dependency problems by removing packages that are causing problems from the transaction.

Allow skipping packages that are not possible to downgrade. All remaining packages will be downgraded.

Enable downgrade of dependencies when resolving the requested operation.

Disable downgrade of dependencies when resolving the requested operation.

Download the resolved package set without executing an RPM transaction.

Store the transaction to be performed offline. See dnf5-offline(8), Offline command.


EXAMPLES

Downgrade the nano package to the given version.

Downgrade gcc, glibc packages and allow erasing of installed packages when needed.


SEE ALSO

dnf5-specs(7), Patterns specification



AUTHOR

See AUTHORS.md in dnf5 source distribution.

COPYRIGHT

Contributors to the dnf5 project.

September 23, 2024