| 1 |
.\" Man page generated from reStructuredText. |
| 2 |
. |
| 3 |
. |
| 4 |
.nr rst2man-indent-level 0 |
| 5 |
. |
| 6 |
.de1 rstReportMargin |
| 7 |
\\$1 \\n[an-margin] |
| 8 |
level \\n[rst2man-indent-level] |
| 9 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 10 |
- |
| 11 |
\\n[rst2man-indent0] |
| 12 |
\\n[rst2man-indent1] |
| 13 |
\\n[rst2man-indent2] |
| 14 |
.. |
| 15 |
.de1 INDENT |
| 16 |
.\" .rstReportMargin pre: |
| 17 |
. RS \\$1 |
| 18 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 19 |
. nr rst2man-indent-level +1 |
| 20 |
.\" .rstReportMargin post: |
| 21 |
.. |
| 22 |
.de UNINDENT |
| 23 |
. RE |
| 24 |
.\" indent \\n[an-margin] |
| 25 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 26 |
.nr rst2man-indent-level -1 |
| 27 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 28 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 29 |
.. |
| 30 |
.TH "DNF4-DEBUG" "8" "Sep 27, 2025" "4.10.1" "dnf-plugins-core" |
| 31 |
.SH NAME |
| 32 |
dnf4-debug \- DNF debug Plugin |
| 33 |
.SH DESCRIPTION |
| 34 |
.sp |
| 35 |
The plugin provides two dnf commands: |
| 36 |
.INDENT 0.0 |
| 37 |
.TP |
| 38 |
.B \fBdebug\-dump\fP |
| 39 |
Writes system RPM configuration to a dump file |
| 40 |
.TP |
| 41 |
.B \fBdebug\-restore\fP |
| 42 |
Restore the installed packages to the versions written in the dump file. By |
| 43 |
default, it does not remove already installed versions of install\-only |
| 44 |
packages and only marks those versions that are mentioned in the dump file |
| 45 |
for installation. The final decision on which versions to keep on the |
| 46 |
system is left to dnf and can be fine\-tuned using the \fIinstallonly_limit\fP |
| 47 |
(see \fBdnf.conf(5)\fP) configuration option. |
| 48 |
.UNINDENT |
| 49 |
.sp |
| 50 |
\fBNOTE:\fP |
| 51 |
.INDENT 0.0 |
| 52 |
.INDENT 3.5 |
| 53 |
DNF and Yum debug files are not compatible and thus can’t be used |
| 54 |
by the other program. |
| 55 |
.UNINDENT |
| 56 |
.UNINDENT |
| 57 |
.SH SYNOPSIS |
| 58 |
.sp |
| 59 |
\fBdnf debug\-dump [\-\-norepos] [<filename>]\fP |
| 60 |
.sp |
| 61 |
\fBdnf debug\-restore [\-\-output] [\-\-install\-latest] [\-\-ignore\-arch] |
| 62 |
[\-\-filter\-types = [install,remove,replace]] <filename>\fP |
| 63 |
.SH ARGUMENTS |
| 64 |
.INDENT 0.0 |
| 65 |
.TP |
| 66 |
.B \fB<filename>\fP |
| 67 |
File to write dump to or read from. |
| 68 |
.UNINDENT |
| 69 |
.SH OPTIONS |
| 70 |
.sp |
| 71 |
All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details. |
| 72 |
.sp |
| 73 |
\fBdnf debug\-dump\fP |
| 74 |
.INDENT 0.0 |
| 75 |
.TP |
| 76 |
.B \fB\-\-norepos\fP |
| 77 |
Do not dump content of enabled repos. |
| 78 |
.UNINDENT |
| 79 |
.sp |
| 80 |
\fBdnf debug\-restore\fP |
| 81 |
.INDENT 0.0 |
| 82 |
.TP |
| 83 |
.B \fB\-\-filter\-types=[install,remove,replace]\fP |
| 84 |
Limit package changes to specified type. |
| 85 |
.TP |
| 86 |
.B \fB\-\-ignore\-arch\fP |
| 87 |
When installing package ignore architecture and install missing packages |
| 88 |
matching the name, epoch, version and release. |
| 89 |
.TP |
| 90 |
.B \fB\-\-install\-latest\fP |
| 91 |
When installing use the latest package of the same name and architecture. |
| 92 |
.TP |
| 93 |
.B \fB\-\-output\fP |
| 94 |
Only output list of packages which will be installed or removed. |
| 95 |
No actuall changes are done. |
| 96 |
.TP |
| 97 |
.B \fB\-\-remove\-installonly\fP |
| 98 |
Allow removal of install\-only packages. Using this option may result in an |
| 99 |
attempt to remove the running kernel version (in situations when the currently |
| 100 |
running kernel version is not part of the dump file). |
| 101 |
.UNINDENT |
| 102 |
.SH AUTHOR |
| 103 |
See AUTHORS in your Core DNF Plugins distribution |
| 104 |
.SH COPYRIGHT |
| 105 |
2014, Red Hat, Licensed under GPLv2+ |
| 106 |
.\" Generated by docutils manpage writer. |
| 107 |
. |