1DNF-TRANSACTION-JSON(5)               DNF              DNF-TRANSACTION-JSON(5)
2
3
4

NAME

6       dnf-transaction-json - DNF Stored Transaction JSON
7
8       The  stored transaction format is considered unstable and may change in
9       an incompatible way at any time. It will work if the  same  version  of
10       dnf  is  used  to  store  and replay (or between versions as long as it
11       stays the same).
12

TOP-LEVEL OBJECT

14       version
15              Type: string
16
17              The version of the stored transaction format, in  the  form  MA‐
18              JOR.MINOR.
19
20              MAJOR  version  denotes  backwards incompatible changes (old dnf
21              won't work with new transaction JSON).
22
23              MINOR version denotes  extending  the  format  without  breaking
24              backwards  compatibility  (old dnf can work with new transaction
25              JSON).
26
27       rpms   Type: an array of rpm objects
28
29              A list of RPM packages in the transaction.
30
31       groups Type: an array of group objects
32
33              A list of groups in the transaction.
34
35       environments
36              Type: an array of group objects
37
38              A list of environment groups in the transaction.
39

RPM OBJECT

41       action Type: string
42
43              Possible values: Downgrade, Downgraded, Install, Obsoleted, Rea‐
44              son Change, Reinstall, Reinstalled, Removed, Upgrade, Upgraded
45
46              The action performed on the package in the transaction.
47
48       nevra  Type: string
49
50              NEVRA (name-epoch:version-release.arch) of the package.
51
52       reason Type: string
53
54              Possible   values:  dependency,  clean,  group,  unknown,  user,
55              weak-dependency
56
57              The reason why the package was pulled into the transaction.
58
59       repo_id
60              Type: string
61
62              The id of the repository  this  package  is  coming  from.  Note
63              repository  ids  are defined in the local respository configura‐
64              tion and may differ between systems.
65

GROUP OBJECT

67       action Type: string
68
69              Possible values: Install, Upgrade, Removed
70
71              The action performed on the group in the transaction.
72
73       id     Type: string
74
75              The id of the group.
76
77       package_types
78              Type: string
79
80              Possible values: conditional, default, mandatory, optional
81
82              The types of packages in the group that will be installed. Valid
83              only for the Install action.
84
85       packages
86              Type: an array of group-package objects
87
88              The packages belonging to the group in the transaction.
89

ENVIRONMENT OBJECT

91       action Type: string
92
93              Possible values: Install, Upgrade, Removed
94
95              The  action  performed  on the environment group in the transac‐
96              tion.
97
98       id     Type: string
99
100              The id of the environment group.
101
102       package_types
103              Type: string
104
105              Possible values: conditional, default, mandatory, optional
106
107              The types of packages in the environment group that will be  in‐
108              stalled.  Valid only for the Install action.
109
110       group  Type: an array of environment-group objects
111
112              The groups belonging to the environment in the transaction.
113

GROUP-PACKAGE OBJECT

115       installed
116              Type: boolean
117
118              Whether  the  package  is  considered  installed  as part of the
119              group.
120
121       name   Type: string
122
123              The name of the package.
124
125       package_type
126              Type: string
127
128              Possible values: conditional, default, mandatory, optional
129
130              The type of the package in the group.
131

ENVIRONMENT-GROUP OBJECT

133       group_type
134              Type: string
135
136              Possible values: mandatory, optional
137
138              The type of the group in the environment.
139
140       id     Type: string
141
142              The id of the group.
143
144       installed
145              Type: boolean
146
147              Whether the group is considered installed as part of  the  envi‐
148              ronment.
149

AUTHOR

151       See AUTHORS in DNF source distribution.
152
154       2012-2021, Red Hat, Licensed under GPLv2+
155
156
157
158
1594.9.0                            Sep 23, 2021          DNF-TRANSACTION-JSON(5)
Impressum