The transaction set is the workhorse of RPM. It performs the installation and upgrade of packages. The rpm.ts object is instantiated by the TransactionSet function in the rpm module.
The TransactionSet function takes two optional arguments. The first argument is the root path. The second is the verify signature disable flags, a set of the following bits:
hdr | the header to be added |
data | user data that will be passed to the transaction callback during transaction execution |
mode |
optional argument that specifies if this package should be installed ('i'), upgraded ('u'), or if it is just available to the transaction when computing dependencies but no action should be performed with it ('a').
|
name |
the package name to be erased
|
transFlags |
- bit(s) to controll transaction operations. The following values can be logically OR'ed together:
|
problemSetFilter |
- control bit(s) to ignore classes of problems, a logical or of one or more of the following bit(s):
|