Libzypp/ZMD/ZMD7.1/helpers/resolve-dependencies
resolve-dependencies
- resolve-dependencies
Syntax:
resolve-dependencies <database> [verify]
Used to resolve dependencies. Proposed transaction is read from the transactions table. Rows are defined as:
action - 0 for removals and 1 for installations id - id of the resolvable
All available and installed resolvables must be read from packages table, zmd is responsible for populating it. System packages should not be touched.
The results are added to the transactions table with appropriate message in 'details' field. If the optional verify argument is used, the system's internal dependency tree is checked and if it's not clean, suggested changes are written to the transactions table with appropriate messages.
In case of dependency failures, the error message is written to the standard output, one item per line.
All warnings and errors are written to standard error using the common messaging format defined here.
The helper returns 0 on success and anything else in case of failure.
Last edit in Trac '05/30/06 13:06:56' by 'kkaempf'
Last edit in Trac '05/30/06 13:06:56' by 'kkaempf'
Last edit in Trac '05/30/06 13:06:56' by 'kkaempf'
Last edit in Trac '05/30/06 13:06:56' by 'kkaempf'