.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-DOWNGRADE" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-downgrade \- Downgrade Command .SH SYNOPSIS .sp \fBdnf5 downgrade [options] ...\fP .SH DESCRIPTION .sp The \fBdowngrade\fP command in \fBDNF5\fP is used to downgrade each package specified in \fBpackage\-spec\fP 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. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-allowerasing\fP .nf Allow removing of installed packages to resolve any potential dependency problems. .fi .sp .TP .B \fB\-\-skip\-broken\fP .nf Resolve any dependency problems by removing packages that are causing problems from the transaction. .fi .sp .TP .B \fB\-\-skip\-unavailable\fP .nf Allow skipping packages that are not possible to downgrade. All remaining packages will be downgraded. .fi .sp .TP .B \fB\-\-allow\-downgrade\fP .nf Enable downgrade of dependencies when resolving the requested operation. .fi .sp .TP .B \fB\-\-no\-allow\-downgrade\fP .nf Disable downgrade of dependencies when resolving the requested operation. .fi .sp .TP .B \fB\-\-downloadonly\fP .nf Download the resolved package set without executing an RPM transaction. .fi .sp .TP .B \fB\-\-offline\fP .nf Store the transaction to be performed offline. See \fBdnf5\-offline(8)\fP, \fI\%Offline command\fP\&. .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 downgrade nano\-0:6.0\-2.fc36\fP .nf Downgrade the \fBnano\fP package to the given version. .fi .sp .TP .B \fBdnf5 downgrade gcc glibc \-\-allowerasing\fP .nf Downgrade \fBgcc\fP, \fBglibc\fP packages and allow removing of installed packages when needed. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP .fi .sp .UNINDENT .UNINDENT .SH AUTHOR See AUTHORS.md in dnf5 source distribution. .SH COPYRIGHT Contributors to the dnf5 project. .\" Generated by docutils manpage writer. .