| 1 |
.\" Man page generated from reStructuredText |
| 2 |
.\" by the Docutils 0.22.4 manpage writer. |
| 3 |
. |
| 4 |
. |
| 5 |
.nr rst2man-indent-level 0 |
| 6 |
. |
| 7 |
.de1 rstReportMargin |
| 8 |
\\$1 \\n[an-margin] |
| 9 |
level \\n[rst2man-indent-level] |
| 10 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 11 |
- |
| 12 |
\\n[rst2man-indent0] |
| 13 |
\\n[rst2man-indent1] |
| 14 |
\\n[rst2man-indent2] |
| 15 |
.. |
| 16 |
.de1 INDENT |
| 17 |
.\" .rstReportMargin pre: |
| 18 |
. RS \\$1 |
| 19 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 20 |
. nr rst2man-indent-level +1 |
| 21 |
.\" .rstReportMargin post: |
| 22 |
.. |
| 23 |
.de UNINDENT |
| 24 |
. RE |
| 25 |
.\" indent \\n[an-margin] |
| 26 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 27 |
.nr rst2man-indent-level -1 |
| 28 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 29 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 30 |
.. |
| 31 |
.TH "DNF5-DOWNGRADE" "8" "May 09, 2026" "" "dnf5" |
| 32 |
.SH NAME |
| 33 |
dnf5-downgrade \- Downgrade Command |
| 34 |
.SH SYNOPSIS |
| 35 |
.sp |
| 36 |
\fBdnf5 downgrade [options] <package\-spec\-NPFB>...\fP |
| 37 |
.SH DESCRIPTION |
| 38 |
.sp |
| 39 |
The \fBdowngrade\fP command in \fBDNF5\fP is used to downgrade each package specified in \fBpackage\-spec\-NPFB\fP list to the |
| 40 |
highest installable version of all known lower versions if possible. When the version is explicitly given |
| 41 |
in the argument and it is lower than the version of the installed package then it downgrades to this one. |
| 42 |
.SH OPTIONS |
| 43 |
.INDENT 0.0 |
| 44 |
.TP |
| 45 |
.B \fB\-\-allowerasing\fP |
| 46 |
.nf |
| 47 |
Allow removing of installed packages to resolve any potential dependency problems. |
| 48 |
.fi |
| 49 |
.sp |
| 50 |
.TP |
| 51 |
.B \fB\-\-skip\-broken\fP |
| 52 |
.nf |
| 53 |
Resolve any dependency problems by removing packages that are causing problems from the transaction. |
| 54 |
.fi |
| 55 |
.sp |
| 56 |
.TP |
| 57 |
.B \fB\-\-skip\-unavailable\fP |
| 58 |
.nf |
| 59 |
Allow skipping packages that are not possible to downgrade. All remaining packages will be downgraded. |
| 60 |
.fi |
| 61 |
.sp |
| 62 |
.TP |
| 63 |
.B \fB\-\-allow\-downgrade\fP |
| 64 |
.nf |
| 65 |
Enable downgrade of dependencies when resolving the requested operation. |
| 66 |
.fi |
| 67 |
.sp |
| 68 |
.TP |
| 69 |
.B \fB\-\-no\-allow\-downgrade\fP |
| 70 |
.nf |
| 71 |
Disable downgrade of dependencies when resolving the requested operation. |
| 72 |
.fi |
| 73 |
.sp |
| 74 |
.UNINDENT |
| 75 |
.INDENT 0.0 |
| 76 |
.TP |
| 77 |
.B \fB\-\-installed\-from\-repo=REPO_ID,...\fP |
| 78 |
.nf |
| 79 |
Filters installed packages by the ID of the repository they were installed from. |
| 80 |
.fi |
| 81 |
.sp |
| 82 |
.UNINDENT |
| 83 |
.INDENT 0.0 |
| 84 |
.TP |
| 85 |
.B \fB\-\-from\-repo=REPO_ID,...\fP |
| 86 |
.nf |
| 87 |
Packages (or their provides) explicitly specified on the command line will only be looked up in the specified repositories. |
| 88 |
These repositories are automatically enabled. |
| 89 |
Repository enabling and disabling still applies. Dependencies of these packages will be resolved from any enabled repository. |
| 90 |
.fi |
| 91 |
.sp |
| 92 |
.UNINDENT |
| 93 |
.INDENT 0.0 |
| 94 |
.TP |
| 95 |
.B \fB\-\-from\-vendor=VENDOR,...\fP |
| 96 |
.nf |
| 97 |
List of vendors separated by commas or spaces. Globs are supported (e.g., \fB\-\-from\-vendor=\(aqFedora\e project, vendorA, vendorB*, vendorC\(aq\fP). |
| 98 |
Packages (or their provides) explicitly specified on the command line will only be looked up from the specified vendors. |
| 99 |
The vendor change check is \fBbypassed\fP for these packages. |
| 100 |
The vendor is ignored or vendor change policies (if \fBallow_vendor_change=0\fP) will still be used for packages that satisfy dependencies. |
| 101 |
.fi |
| 102 |
.sp |
| 103 |
.UNINDENT |
| 104 |
.INDENT 0.0 |
| 105 |
.TP |
| 106 |
.B \fB\-\-downloadonly\fP |
| 107 |
.nf |
| 108 |
Download the resolved package set without executing an RPM transaction. |
| 109 |
.fi |
| 110 |
.sp |
| 111 |
.UNINDENT |
| 112 |
.INDENT 0.0 |
| 113 |
.TP |
| 114 |
.B \fB\-\-offline\fP |
| 115 |
.nf |
| 116 |
Store the transaction to be performed offline. See offline command \%<#\:offline-command-ref-label>, \fBdnf5\-offline(8)\fP\&. |
| 117 |
.fi |
| 118 |
.sp |
| 119 |
.TP |
| 120 |
.B \fB\-\-store=PATH\fP |
| 121 |
.nf |
| 122 |
Store the current transaction in a directory at the specified \fBPATH\fP instead of running it. |
| 123 |
The stored transaction can be performed by the replay command \%<#\:replay-command-ref-label>, \fBdnf5\-replay(8)\fP\&. |
| 124 |
Note that repository ids in the stored transaction are mangled to \fB@stored_transaction(repo_id)\fP this is required |
| 125 |
because during replaying the stored repositories are recreated and they might collide with already present repositories |
| 126 |
(this doesn\(aqt apply to the special @System repository). |
| 127 |
.fi |
| 128 |
.sp |
| 129 |
.UNINDENT |
| 130 |
.SH EXAMPLES |
| 131 |
.INDENT 0.0 |
| 132 |
.TP |
| 133 |
.B \fBdnf5 downgrade nano\-0:6.0\-2.fc36\fP |
| 134 |
.nf |
| 135 |
Downgrade the \fBnano\fP package to the given version. |
| 136 |
.fi |
| 137 |
.sp |
| 138 |
.TP |
| 139 |
.B \fBdnf5 downgrade gcc glibc \-\-allowerasing\fP |
| 140 |
.nf |
| 141 |
Downgrade \fBgcc\fP, \fBglibc\fP packages and allow removing of installed packages when needed. |
| 142 |
.fi |
| 143 |
.sp |
| 144 |
.UNINDENT |
| 145 |
.SH SEE ALSO |
| 146 |
.INDENT 0.0 |
| 147 |
.INDENT 3.5 |
| 148 |
.nf |
| 149 |
\fBdnf5\-specs(7)\fP, Patterns specification \%<#\:specs-misc-ref-label> |
| 150 |
.fi |
| 151 |
.sp |
| 152 |
.UNINDENT |
| 153 |
.UNINDENT |
| 154 |
.SH Author |
| 155 |
See AUTHORS.md in dnf5 source distribution. |
| 156 |
.SH Copyright |
| 157 |
Contributors to the dnf5 project. |
| 158 |
.\" End of generated man page. |