apm_dependency_check (private)
apm_dependency_check [ -callback callback ] [ -initial_install ] \ [ -pkg_info_all pkg_info_all ] spec_files
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
Check dependencies of all the packages provided.
- Switches:
- -callback (optional, defaults to
"apm_dummy_callback"
)- -initial_install (optional, boolean)
- Only process spec files with the initial install attribute.
- -pkg_info_all (optional)
- If you supply this argument, when a requirement goes unsatisfied, instead of failing, this proc will try to add whatever other packages are needed to the install set. The list of package keys to add will be the third element in the list returned.
- Parameters:
- spec_files (required)
- A list of spec files to be processed.
- Returns:
- A list whose first element indicates whether dependencies were satisfied (1 if so, 0 otherwise). The second element is the package info list with the packages ordered according to dependencies. Packages that can be installed come first. Any packages that failed the dependency check come last. The third element is a list of package keys on additional packages to install, in order to satisfy dependencies.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.