Pcornel
Automation · Automation Troubleshooting

Missing Dependency

Cheat sheet · https://pcornel.dk/topic.php?topic=6054

Back to the Topic

Answer

Missing Dependency isolates absent, incompatible or unreachable runtime requirements such as modules, binaries, libraries, collections, providers, interpreters, services or external APIs.

Remember

  • Package name present ≠ required version or architecture is active.
  • Dependency installed ≠ runner resolves that instance.
  • Lock file exists ≠ runtime environment matches it.
  • External service DNS resolves ≠ dependency is functionally available.

First checks

  • pip check / ansible-galaxy collection list / Get-Module -ListAvailable — installed dependencies
  • Lock file vs environment — mismatch
  • Execution environment image — consistency

Verify in this order

run → import/command → missing → install pinned

Where it usually breaks

Dependency presence is bounded evidence; it does not prove compatibility, correct resolution path, trusted provenance or functional external service behavior.

Missing Dependency troubleshooting proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Symptom / scopeTime window, immutable source/run identity, effective inputs and exact targets are explicitFloating source, changed inputs or ambiguous targets destroy reproducibility
First failed boundaryTransport/auth/dependency/render/operation evidence identifies the earliest divergenceInvestigation starts at the final error and skips earlier unproven boundaries
Effective outcomeController result is paired with target read-back and workload/service acceptanceGreen execution state or changed symptom substitutes for effective-state verification
Recovery / closureMinimal change restores the original test and regression/partial-state checks are cleanBroad retry or unrelated edits make the incident non-reproducible and hide residual state

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6054

Confirmation

Confirm action

Continue?