.\" 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 "DNF4-DEBUG" "8" "Apr 24, 2024" "4.7.0" "dnf-plugins-core" .SH NAME dnf4-debug \- DNF debug Plugin .SH DESCRIPTION .sp The plugin provides two dnf commands: .INDENT 0.0 .TP .B \fBdebug\-dump\fP Writes system RPM configuration to a dump file .TP .B \fBdebug\-restore\fP Restore the installed packages to the versions written in the dump file. By default, it does not remove already installed versions of install\-only packages and only marks those versions that are mentioned in the dump file for installation. The final decision on which versions to keep on the system is left to dnf and can be fine\-tuned using the \fIinstallonly_limit\fP (see \fBdnf.conf(5)\fP) configuration option. .UNINDENT .sp \fBNOTE:\fP .INDENT 0.0 .INDENT 3.5 DNF and Yum debug files are not compatible and thus can\(aqt be used by the other program. .UNINDENT .UNINDENT .SH SYNOPSIS .sp \fBdnf debug\-dump [\-\-norepos] []\fP .sp \fBdnf debug\-restore [\-\-output] [\-\-install\-latest] [\-\-ignore\-arch] [\-\-filter\-types = [install,remove,replace]] \fP .SH ARGUMENTS .INDENT 0.0 .TP .B \fB\fP File to write dump to or read from. .UNINDENT .SH OPTIONS .sp All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details. .sp \fBdnf debug\-dump\fP .INDENT 0.0 .TP .B \fB\-\-norepos\fP Do not dump content of enabled repos. .UNINDENT .sp \fBdnf debug\-restore\fP .INDENT 0.0 .TP .B \fB\-\-filter\-types=[install,remove,replace]\fP Limit package changes to specified type. .TP .B \fB\-\-ignore\-arch\fP When installing package ignore architecture and install missing packages matching the name, epoch, version and release. .TP .B \fB\-\-install\-latest\fP When installing use the latest package of the same name and architecture. .TP .B \fB\-\-output\fP Only output list of packages which will be installed or removed. No actuall changes are done. .TP .B \fB\-\-remove\-installonly\fP Allow removal of install\-only packages. Using this option may result in an attempt to remove the running kernel version (in situations when the currently running kernel version is not part of the dump file). .UNINDENT .SH AUTHOR See AUTHORS in your Core DNF Plugins distribution .SH COPYRIGHT 2024, Red Hat, Licensed under GPLv2+ .\" Generated by docutils manpage writer. .