DNF4-TRANSACTION-JSON(5)
okay bestie, welcome to DNF4-TRANSACTION-JSON(5) β the dnf4-transaction-json(5) page from the DNF manual, and it's literally all about the DNF Stored Transaction JSON π
β¨
πΈ NAME πΈ
dnf4-transaction-json β DNF Stored Transaction JSON
π¨ warning time, bestie: the stored transaction format is considered unstable and may change in an incompatible way at any time. It will work if the same version of dnf is used to store and replay (or between versions as long as it stays the same). π
π TOP-LEVEL OBJECT π
okay so the top-level object is giving main character energy with these keys:
versionβ Type:string
The version of the stored transaction format, in the form MAJOR.MINOR.
MAJORversion denotes backwards incompatible changes (olddnfwon't work with new transaction JSON).MINORversion denotes extending the format without breaking backwards compatibility (olddnfcan work with new transaction JSON).
rpmsβ Type: an array of rpm objects
A list of RPM packages in the transaction.
groupsβ Type: an array of group objects
A list of groups in the transaction.
environmentsβ Type: an array of group objects
A list of environment groups in the transaction.
π RPM OBJECT π
actionβ Type:string
Possible values: Downgrade, Downgraded, Install, Obsoleted, Reason Change, Reinstall, Reinstalled, Removed, Upgrade, Upgraded
The action performed on the package in the transaction.
nevraβ Type:string
NEVRA (name-epoch:version-release.arch) of the package.
reasonβ Type:string
Possible values: dependency, clean, group, unknown, user, weak-dependency
The reason why the package was pulled into the transaction.
repo_idβ Type:string
The id of the repository this package is coming from. Note repository ids are defined in the local repository configuration and may differ between systems.
π¦ GROUP OBJECT π¦
actionβ Type:string
Possible values: Install, Upgrade, Removed
The action performed on the group in the transaction.
idβ Type:string
The id of the group.
package_typesβ Type:string
Possible values: conditional, default, mandatory, optional
The types of packages in the group that will be installed. Valid only for the Install action.
packagesβ Type: an array of group-package objects
The packages belonging to the group in the transaction.
π ENVIRONMENT OBJECT π
actionβ Type:string
Possible values: Install, Upgrade, Removed
The action performed on the environment group in the transaction.
idβ Type:string
The id of the environment group.
package_typesβ Type:string
Possible values: conditional, default, mandatory, optional
The types of packages in the environment group that will be installed. Valid only for the Install action.
groupβ Type: an array of environment-group objects
The groups belonging to the environment in the transaction.
π GROUP-PACKAGE OBJECT π
installedβ Type:boolean
Whether the package is considered installed as part of the group.
nameβ Type:string
The name of the package.
package_typeβ Type:string
Possible values: conditional, default, mandatory, optional
The type of the package in the group.
π§ ENVIRONMENT-GROUP OBJECT π§
group_typeβ Type:string
Possible values: mandatory, optional
The type of the group in the environment.
idβ Type:string
The id of the group.
installedβ Type:boolean
Whether the group is considered installed as part of the environment.
π AUTHOR π
See AUTHORS in DNF source distribution.
π COPYRIGHT π
2012-2020, Red Hat, Licensed under GPLv2+
okay that's the whole page, bestie π this was version 4.23.0, dated Mar 19, 2025, from the DNF4-TRANSACTION-JSON(5) manual. periodt β¨π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: dnf 4.23.0-bp160.1.7 Β· GPL-2.0-only AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms