Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4595

Dependency Hell

Dependency Hell
BusinessHigh supportManagement
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

Dependency hell is a colloquial term for the frustration of some software users who have installed software packages which have dependencies on specific versions of other software packages. The dependency issue arises when several packages have dependencies on the same shared packages or libraries, …

Definition

When software A depends on B and C, B depends on version 1.0 of D, and C depends on version 2.0 of D, leading to a version conflict. The system eventually falls into a deadlock where all dependencies cannot be satisfied simultaneously. Scaffold use: Beware the cost of over-connection. Introducing too many "dependencies" in a team or life (e.g., every decision requires multiple approvals) may seem to increase collaboration, but actually creates version conflicts. System complexity grows exponentially with the number of dependencies, and eventually any minor upgrade will have a wide impact.

How to use

Beware the cost of over-connection. Introducing too many "dependencies" in a team or life (e.g., every decision requires multiple approvals) may seem to increase collaboration, but actually creates version conflicts. System complexity grows exponentially with the number of dependencies, and eventually any minor upgrade will have a wide impact.

Mechanism

When different components require different and incompatible versions of the same dependency, or when dependency relationships form conflicts or cycles, the package manager cannot resolve a consistent set of versions. Conflicts grow exponentially with the number of dependencies and transitive levels (combinatorial explosion), and any minor upgrade may affect the whole system.

Practice

In progress 0/5

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • A depends on B and C, B requires D1.0 while C requires D2.0, causing a conflict; global installation of multiple projects sharing the same library version breaks each other; 'broken packages' conflicts in Linux distribution package management.

Common pitfalls

  • Assuming 'always install the latest version is better'; ignoring transitive dependencies; using a global environment to mix dependencies of different projects; leaving the problem to users to solve manually.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Dependency_hellZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS