1DNF-DEBUG(8) dnf-plugins-core DNF-DEBUG(8)
2
3
4
6 dnf-debug - DNF debug Plugin
7
9 The plugin provides two dnf commands:
10
11 debug-dump
12 Writes system RPM configuration to a dump file
13
14 debug-restore
15 Restore the installed packages to the versions written in the
16 dump file. By default, it does not remove already installed ver‐
17 sions of install-only packages and only marks those versions
18 that are mentioned in the dump file for installation. The final
19 decision on which versions to keep on the system is left to dnf
20 and can be fine-tuned using the installonly_limit (see
21 dnf.conf(5)) configuration option.
22
23 NOTE:
24 DNF and Yum debug files are not compatible and thus can't be used by
25 the other program.
26
28 dnf debug-dump [--norepos] [<filename>]
29
30 dnf debug-restore [--output] [--install-latest] [--ignore-arch] [--fil‐
31 ter-types = [install,remove,replace]] <filename>
32
34 <filename>
35 File to write dump to or read from.
36
38 All general DNF options are accepted, see Options in dnf(8) for de‐
39 tails.
40
41 dnf debug-dump
42
43 --norepos
44 Do not dump content of enabled repos.
45
46 dnf debug-restore
47
48 --filter-types=[install,remove,replace]
49 Limit package changes to specified type.
50
51 --ignore-arch
52 When installing package ignore architecture and install missing
53 packages matching the name, epoch, version and release.
54
55 --install-latest
56 When installing use the latest package of the same name and ar‐
57 chitecture.
58
59 --output
60 Only output list of packages which will be installed or removed.
61 No actuall changes are done.
62
63 --remove-installonly
64 Allow removal of install-only packages. Using this option may
65 result in an attempt to remove the running kernel version (in
66 situations when the currently running kernel version is not part
67 of the dump file).
68
70 See AUTHORS in your Core DNF Plugins distribution
71
73 2022, Red Hat, Licensed under GPLv2+
74
75
76
77
784.2.1 May 27, 2022 DNF-DEBUG(8)