DNF-TRANSACTION-JSON(5) DNF DNF-TRANSACTION-JSON(5)

dnf-transaction-json - DNF Stored Transaction JSON

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).

Type: string

The version of the stored transaction format, in the form MAJOR.MINOR.

MAJOR version denotes backwards incompatible changes (old dnf won't work with new transaction JSON).

MINOR version denotes extending the format without breaking backwards compatibility (old dnf can work with new transaction JSON).

Type: an array of rpm objects

A list of RPM packages in the transaction.

Type: an array of group objects

A list of groups in the transaction.

Type: an array of group objects

A list of environment groups in the transaction.

Type: string

Possible values: Downgrade, Downgraded, Install, Obsoleted, Reason Change, Reinstall, Reinstalled, Removed, Upgrade, Upgraded

The action performed on the package in the transaction.

Type: string

NEVRA (name-epoch:version-release.arch) of the package.

Type: string

Possible values: dependency, clean, group, unknown, user, weak-dependency

The reason why the package was pulled into the transaction.

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.

Type: string

Possible values: Install, Upgrade, Removed

The action performed on the group in the transaction.

Type: string

The id of the group.

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.

Type: an array of group-package objects

The packages belonging to the group in the transaction.

Type: string

Possible values: Install, Upgrade, Removed

The action performed on the environment group in the transaction.

Type: string

The id of the environment group.

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.

Type: an array of environment-group objects

The groups belonging to the environment in the transaction.

Type: boolean

Whether the package is considered installed as part of the group.

Type: string

The name of the package.

Type: string

Possible values: conditional, default, mandatory, optional

The type of the package in the group.

Type: string

Possible values: mandatory, optional

The type of the group in the environment.

Type: string

The id of the group.

Type: boolean

Whether the group is considered installed as part of the environment.

See AUTHORS in DNF source distribution.

2012-2024, Red Hat, Licensed under GPLv2+

March 14, 2024 4.19.0