- class dnf.sack.Sack
The package sack. Contains metadata information about all known packages, installed and available.
Queryfor querying packages contained in this sack.
Package filtering is applied when creating the query object. The behavior can be adapted using flags. Possible flags:
Apply all package filtering.
Ignore all package filtering.
Ignore regular excludes defined by configuration files or the command line.
Ignore modular filtering.
Returns a new instance of sack containing only installed packages (@System repo). Useful to get list of the installed RPMs after transaction.