Debian Codegraph @

upstream/mageia-cauldron/man7/dnf5-system-state.7

raw
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 "DNF5-SYSTEM-STATE" "7" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-system-state \- System state
33 .SH DESCRIPTION
34 .sp
35 The DNF5 system state consists of several TOML files with their location determined by the \fIsystem_state_dir\fP configuration option (\fBdnf5.conf(5)\fP, \fI\%system_state_dir\fP). DNF5 uses the system state to:
36 .INDENT 0.0
37 .INDENT 3.5
38 .INDENT 0.0
39 .IP 1. 3
40 Store the reasons why each installed package was added to the system. The reasons can be \(dquser\(dq for packages that the user explicitly asked DNF5 to install, \(dqdependency\(dq and \(dqweak dependency\(dq for packages pulled in as dependencies of another package, \(dqgroup\(dq for packages installed by a group, or \(dqexternal\(dq for packages installed by another tool (e.g. rpm).
41 .IP 2. 3
42 Track installed groups and packages installed by these groups.
43 .IP 3. 3
44 Track installed environmental groups.
45 .UNINDENT
46 .UNINDENT
47 .UNINDENT
48 .sp
49 The way of storing the DNF5 system state is an internal implementation detail and may change at any time. To modify the state, always use the DNF5 command\-line interface or DNF5 API.
50 .SH RECOVERING FROM A CORRUPTED SYSTEM STATE
51 .sp
52 If the system state files become corrupted, simply back up and remove the corrupted TOML file mentioned in the error message. It will be regenerated during the next successful DNF5 transaction.
53 The regenerated files may lack some data, such as the reasons why packages were installed or the repositories from which they were installed.
54 .SH AUTHOR
55 See AUTHORS.md in dnf5 source distribution.
56 .SH COPYRIGHT
57 Contributors to the dnf5 project.
58 .\" Generated by docutils manpage writer.
59 .