Debian Codegraph @

upstream/opensuse-tumbleweed/man8/dnf4-debug.8

raw
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 "DNF4-DEBUG" "8" "Mar 28, 2025" "4.10.1" "dnf-plugins-core"
32 .SH NAME
33 dnf4-debug \- DNF debug Plugin
34 .SH DESCRIPTION
35 .sp
36 The plugin provides two dnf commands:
37 .INDENT 0.0
38 .TP
39 .B \fBdebug\-dump\fP
40 Writes system RPM configuration to a dump file
41 .TP
42 .B \fBdebug\-restore\fP
43 Restore the installed packages to the versions written in the dump file. By
44 default, it does not remove already installed versions of install\-only
45 packages and only marks those versions that are mentioned in the dump file
46 for installation. The final decision on which versions to keep on the
47 system is left to dnf and can be fine\-tuned using the \fIinstallonly_limit\fP
48 (see \fBdnf.conf(5)\fP) configuration option.
49 .UNINDENT
50 .sp
51 \fBNote:\fP
52 .INDENT 0.0
53 .INDENT 3.5
54 DNF and Yum debug files are not compatible and thus can\(aqt be used
55 by the other program.
56 .UNINDENT
57 .UNINDENT
58 .SH SYNOPSIS
59 .sp
60 \fBdnf debug\-dump [\-\-norepos] [<filename>]\fP
61 .sp
62 \fBdnf debug\-restore [\-\-output] [\-\-install\-latest] [\-\-ignore\-arch]
63 [\-\-filter\-types = [install,remove,replace]] <filename>\fP
64 .SH ARGUMENTS
65 .INDENT 0.0
66 .TP
67 .B \fB<filename>\fP
68 File to write dump to or read from.
69 .UNINDENT
70 .SH OPTIONS
71 .sp
72 All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
73 .sp
74 \fBdnf debug\-dump\fP
75 .INDENT 0.0
76 .TP
77 .B \fB\-\-norepos\fP
78 Do not dump content of enabled repos.
79 .UNINDENT
80 .sp
81 \fBdnf debug\-restore\fP
82 .INDENT 0.0
83 .TP
84 .B \fB\-\-filter\-types=[install,remove,replace]\fP
85 Limit package changes to specified type.
86 .TP
87 .B \fB\-\-ignore\-arch\fP
88 When installing package ignore architecture and install missing packages
89 matching the name, epoch, version and release.
90 .TP
91 .B \fB\-\-install\-latest\fP
92 When installing use the latest package of the same name and architecture.
93 .TP
94 .B \fB\-\-output\fP
95 Only output list of packages which will be installed or removed.
96 No actuall changes are done.
97 .TP
98 .B \fB\-\-remove\-installonly\fP
99 Allow removal of install\-only packages. Using this option may result in an
100 attempt to remove the running kernel version (in situations when the currently
101 running kernel version is not part of the dump file).
102 .UNINDENT
103 .SH Author
104 See AUTHORS in your Core DNF Plugins distribution
105 .SH Copyright
106 2014, Red Hat, Licensed under GPLv2+
107 .\" End of generated man page.