|
Package state machine data. |
|
|
|
The RPM Transaction Set. Transaction sets are inherently unordered! RPM may reorder transaction sets to reduce errors. In general, installs/upgrades are done before strict removals, and prerequisite ordering is done on installs/upgrades. |
|
Bit(s) to control rpmRunTransactions() operation.
|
|
Check dependency against internal rpmlib feature provides.
Definition at line 57 of file rpmlibprov.c. |
|
Return copy of rpmlib internal provides.
Definition at line 73 of file rpmlibprov.c. |
|
Compare two versioned dependency ranges, looking for overlap.
Definition at line 529 of file depends.c. Referenced by alAllSatisfiesDepend(), headerMatchesDepFlags(), rangeMatchesDepFlags(), and rpmCheckRpmlibProvides(). |
|
Process all packages in transaction set.
Definition at line 1516 of file transaction.c. |
|
Check that all dependencies can be resolved.
Definition at line 2256 of file depends.c. Referenced by checkSpec(), rpmErase(), rpmInstall(), rpmRollback(), rpmtransDepCheck(), and verifyDependencies(). |
|
Destroy dependency conflicts storage.
Definition at line 936 of file depends.c. Referenced by checkSpec(), rpmErase(), rpmInstall(), rpmRollback(), rpmtransDepCheck(), and verifyDependencies(). |
|
Determine package order in a transaction set according to dependencies. Order packages, returning error if circular dependencies cannot be eliminated by removing PreReq's from the loop(s). Only dependencies from added or removed packages are used to determine ordering using a topological sort (Knuth vol. 1, p. 262). Use rpmdepCheck() to verify that all dependencies can be resolved. The final order ends up as installed packages followed by removed packages, with packages removed for upgrades immediately following the new package to be installed. The operation would be easier if we could sort the addedPackages array in the transaction set, but we store indexes into the array in various places.
Definition at line 1914 of file depends.c. Referenced by rpmInstall(), rpmRollback(), and rpmtransOrder(). |
|
Add package to be installed to unordered transaction set. If fd is NULL, the callback specified in rpmtransCreateSet() is used to open and close the file descriptor. If Header is NULL, the fd is always used, otherwise fd is only needed (and only opened) for actual package installation.
Definition at line 797 of file depends.c. Referenced by checkSpec(), rpmInstall(), rpmInstallSourcePackage(), rpmRollback(), rpmtransAdd(), and verifyDependencies(). |
|
Add package to universe of possible packages to install in transaction set.
Definition at line 906 of file depends.c. Referenced by rpmtransAdd(). |
|
Create an empty transaction set.
Definition at line 692 of file depends.c. Referenced by checkSpec(), cpio_doio(), rpmErase(), rpmInstall(), rpmInstallSourcePackage(), rpmRollback(), rpmVerifyScript(), rpmtransCreate(), and verifyDependencies(). |
|
Destroy transaction set.
Definition at line 917 of file depends.c. Referenced by checkSpec(), cpio_doio(), rpmErase(), rpmInstall(), rpmInstallSourcePackage(), rpmRollback(), rpmVerifyScript(), rpmtransDealloc(), and verifyDependencies(). |
|
Retrieve keys from ordered transaction set.
Definition at line 92 of file transaction.c. |
|
Add package to be removed to unordered transaction set.
Definition at line 912 of file depends.c. Referenced by rpmErase(), rpmRollback(), and rpmtransRemove(). |
|
Save file handle to be used as stderr when running package scripts.
Definition at line 87 of file transaction.c. |
|
Segmented string compare for version and/or release.
Definition at line 15 of file rpmvercmp.c. |