---
title: "Strong Dependencies between Software Components (2009)"
description: "Abate and colleagues show how to find the packages every valid installation requires and why counting direct dependencies misses critical software."
canonical: "https://research.elamur.ai/free/en/papers/abate-2009-strong-dependencies-between-software-components/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abate-2009-strong-dependencies-between-software-components/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2009](https://md.research.elamur.ai/free/en/papers/2009/) / Strong Dependencies between Software Components

# Strong Dependencies between Software Components

Paper · 2009 · Pietro Abate, Jaap Boender, Roberto Di Cosmo et al.

**Authors:** [Pietro Abate](https://md.research.elamur.ai/free/en/authors/pietro-abate/), Jaap Boender, [Roberto Di Cosmo](https://md.research.elamur.ai/free/en/authors/roberto-di-cosmo/) and [Stefano Zacchiroli](https://md.research.elamur.ai/free/en/authors/stefano-zacchiroli/) · **Year:** 2009 · **Venue:** arXiv:0905.4226 · **Licence:** [arXiv — non-exclusive licence to distribute](https://arxiv.org/licenses/nonexclusive-distrib/1.0/license.html)

[licence](https://arxiv.org/licenses/nonexclusive-distrib/1.0/license.html)

- [PDF](https://arxiv.org/pdf/0905.4226)
- [arXiv 0905.4226](https://arxiv.org/abs/0905.4226)

## Summary

A software package can be indispensable even when very few other packages name it in their requirements. Conversely, a package can appear in many requirements because it is one of several ways to satisfy them. This distinction matters when maintainers remove a package or administrators prepare an upgrade. A list of references tells them where a package is mentioned. To understand what depends on its continued availability, they need to know whether those references describe requirements that can be met another way.

The authors call a dependency *strong* when the package at its source is installable and every valid installation containing it must also contain the package at its destination. This definition takes account of alternatives, conflicts, and requirements inherited through other packages. Reversing the direction of the question gives a package’s impact set, which identifies the packages whose installability requires it. Strong sensitivity counts the other members of that set. The authors also define strong dominance to show when packages with high sensitivity owe much of their reach to the same dependencies.

The case study covers stable releases of Debian GNU/Linux from 1994 to February 2009, using the `main` archive for the `i386` architecture. Direct and strong sensitivity rank packages similarly overall, with Spearman correlations from 0.91 to 0.94 across the releases. The exceptions matter for maintenance. In Debian 5.0, only 43 packages named `gcc-4.3-base` directly, yet 20’128 other packages required it in every valid installation. An algorithm that combines mandatory dependency paths with targeted satisfiability checks computed the graph and sensitivity values for a repository of about 22’000 packages in about 5 minutes.

The strong dependency graph also preserves Debian’s small-world characteristics after redundant transitive edges are removed. Dominance graphs bring out groups of related packages that a ranked list would leave scattered among packages with similar scores. The authors propose using these results to assess package removals, prioritize release work, and estimate the reach of an upgrade on a particular machine. The guarantee concerns what can be installed under the repository’s declared rules. Estimating which packages a real upgrade will break requires evidence about the upgrade and the installation itself.

## Deep dive: Strong Dependencies between Software Components

Abate and colleagues show how to find the packages every valid installation requires and why counting direct dependencies misses critical software. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What package requirements tell a maintainer

A component-based system can be changed in pieces. A distribution can replace a library, remove an obsolete utility, or offer a new version of a server while keeping much of the surrounding system intact. The practical question is how much of that surrounding system depends on the piece being changed. A change confined to a package with few users may deserve a different release decision from a change to a package required throughout the archive. Working out which case applies gets harder when a distribution contains thousands of packages maintained by different people.

A package repository already contains one source of evidence. Package metadata declares requirements on other packages, sometimes with restrictions on their versions. It can also declare conflicts that rule out certain combinations. A requirement can offer several alternatives, and it can refer to a capability supplied by another package. The same name can therefore appear in a strict requirement, as a fallback, or as a capability with several possible providers. Its presence in the metadata means different things in each case.

The paper illustrates this with Debian’s `postfix` package. Its metadata requires several things simultaneously, but one of those requirements can be met by a suitable version of `debconf` or by `debconf-2.0`. It also advertises the virtual capability `mail-transport-agent`. Other packages can express a relationship to that capability without naming `postfix` as its implementation. This is a compact way to describe what software needs from its environment. It also means that the consequences of removing a package depend on which alternatives and providers remain usable.

A direct dependency graph records whether a package appears in another package’s requirements. Its arrows are easy to construct and inspect. An incoming arrow can tell a maintainer which package declarations to read. As a measure of necessity, however, the arrow leaves a question open. A often mentioned alternative could be avoidable in every case where it is named. An option could also be unusable because one of its conflicts rules out the very package that lists it. Conversely, a package can be indispensable to a large part of the archive through another component’s requirements while appearing in relatively few declarations itself.

Following more arrows does not resolve the ambiguity. When a package requires each member of a group, examining the requirements of those members can reveal additional obligations. When it needs only one member of a group, following every branch admits paths that may never be taken together. Some may be incompatible with the starting package. The question is whether there is a valid installation that avoids a particular package. That requires considering the requirements and conflicts together.

#### How earlier studies used dependency graphs

The closest earlier network study discussed by the authors used Debian’s inter-package relationships to study the distribution as a complex network. It reported small-world characteristics and a distribution of node connectivity close to a power law. Another study discussed in the paper likewise drew on a free and open source distribution. These approaches made package repositories subjects of network analysis. Their graph encodings gave each dependency reference the form of a directed edge and supported comparisons based on familiar properties of graphs.

The authors distinguish the question asked by those studies from the one asked by a release manager. A network can have a hub in the sense that many names point to it. A maintainer who is considering a removal wants to know what would become uninstallable. For this purpose, a graph edge should communicate that the source package requires the destination even after all the alternatives have been considered. The authors also wanted to find out whether the previously reported small-world pattern survived when the edges acquired that stronger meaning.

The paper discusses some uncertainty about the earlier Debian comparison. The snapshot used by LaBelle and Wallingford came from late 2004 and was no longer available in the Debian archive when the authors sought it. From the published figures and their inspection of the closest stable release, the authors inferred that the earlier analysis omitted conflicts and `Pre-Depends`. That is their reconstruction of the comparison. The substantive issue is visible even without recovering the snapshot. The presence of conflicts and the grouping of alternatives determine which sets of packages are possible, and a count of direct references cannot recover that information by itself.

Other work reviewed in the paper used dependencies and change histories to study software quality. The general hypothesis was that component changes and close relationships can help explain where faults appear. Some studies inferred relationships from source code. Others gave recent changes greater weight or applied network analysis to identify sensitive components. The authors had a different kind of evidence available in Debian. Maintainers explicitly declare package requirements, which makes it possible to reason about installability directly from repository metadata. Records that tie particular failed upgrades to particular dependencies were much harder to obtain.

The resulting problem is narrower than predicting failures. Given a repository and a package that can be installed, which other packages are present in every valid way of installing it? Answering that question makes it possible to count how much of an archive relies on each package and to identify groups that share much of the same reach. It also gives maintenance decisions a clear starting point. If availability of one package is necessary for another, removing the first from the archive can eliminate every permissible installation of the second.

### The method, step by step

#### Start with the rules for a healthy installation

The method starts with a fixed repository. In the paper’s formal treatment, the repository contains packages and propositional conditions describing their dependencies and conflicts. The repository contains the installation as a subset. It is healthy if every included package has its requirements fulfilled by packages in the subset and no included package has a conflict that is satisfied there. The same repository can admit many healthy installations. A package can be installable on its own in this sense even when there is no healthy installation containing every package in the archive together.

A package’s requirements have a structure called conjunctive normal form. A conjunction requires all its clauses to hold. Each clause can be a disjunction, which holds if at least one of its alternatives is satisfied. A clause with a single available package requires that package whenever the clause applies. A clause with several options leaves a choice, subject to the repository’s remaining rules. Version conditions and virtual capabilities help determine which packages can satisfy a requirement before the analysis asks what follows from that requirement.

For an uncomplicated example, suppose package `p` requires both `q` and `r`, and that `p` can be installed. Any healthy installation of `p` must include each of those packages. Now take the paper’s other simple case, in which `a` requires `b` or `c` and either choice works. The direct graph has arrows from `a` to both. An installation using `b` and omitting `c` establishes that `c` is dispensable for `a`. An installation using `c` and omitting `b` establishes the same for `b`.

The authors then give a case in which `p` requires `q` or `r`, while `r` conflicts with `p`. The alternatives still appear side by side in the package declaration. Yet every healthy installation containing `p` must use `q`, because installing `r` alongside `p` would violate a conflict. The reasoning uses a rule declared by another package. This is why examining the dependency formula of the source package in isolation can miss a strong dependency even when the destination is already named in that formula.

#### Turn necessity into a graph

The paper formalizes the question by requiring both that the source be installable and that every healthy installation of the source include the destination. The definition can be written as follows.

```
p ⇒ᵣ q ⇔ (∃ I ∈ H(R) : p ∈ I) ∧ (∀ I ∈ H(R) : p ∈ I ⇒ q ∈ I)
```

Here `R` is the repository and `H(R)` is its collection of healthy installations. `I` ranges over those installations, and `p` and `q` are packages in `R`. The subscripted arrow `⇒ᵣ` denotes strong dependency in that repository. `⇔` says that the two sides are equivalent. The symbol `∃` means there is at least one such installation, while `∀` means that the condition applies to every such installation. `∈` denotes membership, the colon introduces the condition on `I`, and `∧` requires both parenthesized statements to hold. The unsubscripted `⇒` inside the second statement expresses ordinary logical implication.

The existence clause prevents an unhelpful result for a package that cannot be installed. If no healthy installation contains `p`, there is also no healthy installation that contains `p` while omitting `q`, whatever `q` is. The definition reserves the name strong dependency for relationships with an installable source. Once that is established, the test for a particular destination is straightforward to state. Search for a healthy installation of the source in which the destination is absent. Finding one refutes the dependency. Proving that the search is unsatisfiable establishes it.

The relation is transitive.

```
(p ⇒ᵣ q) ∧ (q ⇒ᵣ r) ⇒ (p ⇒ᵣ r)
```

The symbols `p`, `q`, and `r` name packages in the same repository, and `⇒ᵣ` is the strong dependency relation there. The symbol `∧` requires the two dependency statements on the left, and the unsubscripted `⇒` says they imply the statement on the right. Any healthy installation of `p` includes `q`. That same installation is a healthy installation containing `q`, so it includes `r` as well. The first dependency also establishes that `p` is installable.

The strong dependency graph uses packages as vertices and strong dependencies as directed edges. The edge from a source to a destination is present even when the necessity can be inferred through an intermediate package. This is what it means for the graph to be transitively closed. The direct graph uses the same vertices but draws an edge for a syntactic dependency reference. Taking the transitive closure of the direct graph would add an edge for every reachable destination. That procedure would carry forward the choices in an alternative as though each were necessary and would leave out the reasoning about conflicts that can make an option mandatory.

Strong dependencies can also run in both directions. If each of two packages is necessary for the other, any healthy installation that contains either must include both. The packages remain distinct vertices, even though they always occur together within the repository’s installation rules. This matters both for summarizing relationships among packages and for preparing the graph for network measurements.

#### Count incoming requirements and preserve their structure

The authors use *strong successors* for the packages that a given package strongly depends on and *strong predecessors* for the packages that strongly depend on it. The impact set is the strong predecessor set. Its direct counterpart uses incoming edges from the direct graph.

```
Is(p, R) = {q ∈ R | q ⇒ᵣ p}
```

Here `Is(p, R)` is the impact set of package `p` in repository `R`. The variable `q` ranges over packages belonging to `R`, as indicated by `∈`. Inside the braces, `|` means “such that,” and `q ⇒ᵣ p` says that `q` strongly depends on `p`. The equals sign identifies the set on the right with the named impact set.

```
DirIs(p, R) = {q ∈ R | q → p}
```

Here `DirIs(p, R)` is the direct impact set for `p` in `R`. The variable `q` is a package in the repository, `∈` indicates membership, and `|` introduces the condition defining inclusion in the set. The arrow `→` represents a direct dependency, so `q → p` means that `p` occurs in the dependency formula of `q`. The braces collect the packages that meet this condition.

An installable package belongs to its own strong impact set. Every healthy installation containing it of course contains that package. Sensitivity is intended to count the *other* packages with this relationship, so the paper subtracts the package itself from the strong impact set’s cardinality. Direct sensitivity simply counts the members of the direct impact set.

```
‖p‖ = |Is(p, R)| − 1
```

The double bars in `‖p‖` denote strong sensitivity. `Is(p, R)` is the impact set of package `p` in repository `R`, and the bars around the set denote its cardinality. Subtracting `1` removes the contribution of `p` itself under the stated installability condition.

```
|p| = |DirIs(p, R)|
```

On the left, the bars around package `p` denote direct sensitivity. On the right, the bars denote the cardinality of `DirIs(p, R)`, the direct impact set of `p` in repository `R`. Both sensitivity measures count packages, with their respective edge definitions determining membership. The paper compares them through a signed gap.

```
Δ = ‖p‖ − |p|
```

The symbol `Δ` is the gap for package `p`. `‖p‖` is its strong sensitivity, `|p|` its direct sensitivity, and `−` takes the direct count away from the strong count. A large positive value singles out a package whose necessary reach through the archive is much greater than the number of packages that explicitly name it.

Transitivity also gives a relationship between impact sets. When `p` strongly depends on `q`, any package that requires `p` also requires `q`.

```
p ⇒ᵣ q ⇒ Is(p, R) ⊆ Is(q, R)
```

Here `p` and `q` belong to repository `R`. `⇒ᵣ` denotes strong dependency, and the second arrow, `⇒`, expresses logical implication. `Is(p, R)` and `Is(q, R)` are the respective impact sets. The inclusion sign `⊆` allows equality. Strong sensitivity consequently cannot decrease when following an edge from a package to one of its mandatory dependencies. Equal scores can occur, and a pair’s scores alone say little about whether the same packages contribute to them.

This is where strong dominance enters. Suppose `p` strongly depends on `q`. All packages in the impact set of `p` already belong to the impact set of `q`. The authors ask how much of `q`’s remaining impact can be explained by this relationship. They also allow for packages that are themselves strong successors of `p`. Such packages belong to the group of requirements brought along by `p` and are excluded from the part of `q`’s impact set that needs to be covered.

```
p <ᵢₛ q ⇔ (p ⇒ᵣ q) ∧ (Is(p, R) ⊇ (Is(q, R) ∖ Scons(p)))
```

The relation `p <ᵢₛ q` means that package `p` strongly dominates package `q`. `⇔` gives the defining equivalence, and `∧` joins its two requirements. The arrow `⇒ᵣ` refers to strong dependency in repository `R`. `Is(p, R)` and `Is(q, R)` are the two impact sets. `Scons(p)` is the strong successor set of `p` in the same repository. The symbol `∖` removes members of the set on its right from the set on its left, and `⊇` requires the remaining packages to be contained in `Is(p, R)`.

The paper distinguishes several cases that a pair of similar sensitivity scores can hide. Packages with no strong dependency between them cannot dominate each other. A pair with a one-way strong dependency may also fail the dominance test because the required package serves additional packages outside the coverage allowed by the rule. In another one-way case the test holds, exposing which dependency accounts for the required package’s impact. Mutual strong dependency gives another pattern. Since the packages then belong to precisely the same healthy installations, their impact sets coincide and they can dominate one another.

The authors show that dominance is a preorder, with reflexivity understood for installable packages and with transitivity. Reflexivity follows because an installable package strongly depends on itself and its impact set contains any subset obtained by removing its successors. For transitivity, consider a chain in which `p` dominates `q` and `q` dominates `r`. The strong dependency part follows immediately along the chain. For the coverage part, every strong successor of `q` is already a strong successor of `p`. A member of the impact set of `r` that survives the exclusion for `p` therefore also survives the exclusion for `q`. Dominance by `q` puts it in the impact set of `q`, and dominance by `p` then puts it in the impact set of `p`.

Exact dominance is useful for showing full coverage, but a package that comes close can still belong in the same visual group. The paper therefore computes relative dominance for pairs with a strong dependency. It measures the part of the downstream package’s impact that remains unexplained, relative to the size of the upstream package’s impact set.

```
z = (|(Is(q, R) ∖ Scons(p)) ∖ Is(p, R)| × 100) / |Is(p, R)|
```

The value `z` measures how far `p` falls short of strongly dominating `q`, with the formula applied only when `p ⇒ᵣ q`. The packages are in repository `R`. The set `Is(q, R)` is `q`’s impact set, `Scons(p)` contains the strong successors of `p`, and `Is(p, R)` is `p`’s impact set. Each `∖` is a set subtraction. The numerator counts the packages left after both subtractions, using the cardinality bars, and `× 100` expresses the result on a percentage scale. The slash divides by the size of `p`’s impact set. The denominator is positive for an installable `p` because it belongs to its own impact set. Exact dominance corresponds to `z` equal to `0`. Computing the values first lets the authors choose a cutoff later for which links to display.

#### Use an installation to limit the search

A finite repository has a finite collection of subsets, so one way to compute strong dependencies is to examine every subset, keep the healthy ones, and check which packages always occur together in the required direction. That establishes computability. The proposed implementation exploits more structure. Even checking whether a package is installable is an NP-complete problem in the general formulation the paper takes from earlier work. For a large repository, trying every ordered pair with a satisfiability solver would add a large number of such checks.

The solver can answer a question about the packages by considering whether their propositional requirements have a satisfying assignment. To find a healthy installation of `p`, the computation requires `p` to be present. To test whether an installable `p` strongly depends on `q`, it also requires `q` to be absent. If those conditions can be satisfied together with the repository rules, the assignment supplies the counterexample. If they cannot, absence of `q` is impossible when `p` is installed.

The authors reduce the work in two ways. First, if an installable package has a mandatory conjunctive requirement, the required package is already a strong successor. A path made entirely of such requirements gives the same guarantee for its destination by transitivity. These pairs can go into the graph without a separate solver check for each pair. The argument applies to requirements that mandate a particular package. A clause that can be met by different providers needs further reasoning before it provides this shortcut.

Second, once the algorithm finds a healthy installation of a source package, it has already ruled out every package absent from that installation as a strong successor. It can restrict attention to the packages present and skip the ones established by conjunctive paths. For each remaining candidate it asks whether there is another healthy installation of the source that omits the candidate. A single initial installation suffices to narrow the list, because every genuinely necessary package must occur in whichever healthy installation the solver finds first. The later search establishes necessity. The initial installation can contain packages that happen to have been selected and can be replaced.

Computing strong dependencies in a package repository The steps in order.

The shortcuts preserve the definition when their premises hold. A known mandatory path supplies a proof of necessity. A package absent from the initial installation has an explicit counterexample against it. For all other pairs, the solver answers the counterexample question directly. The paper reports that installations for individual packages can be kept fairly small in practice and that conjunctive paths account for a large share of strong edges. Those facts explain why the search is practical on the repositories studied. They do not change the stated complexity of checking installability in general.

The empirical procedure then builds both graphs for each selected Debian release and derives sensitivity values from their incoming edges. It uses dominance to form more compact views of selected groups and prepares a reduced strong graph for network measurements. This is a computation over archive snapshots. The authors make the data available through Mancoosi and report that the tools used for the calculations were released under open source licenses through the project’s Subversion repository.

### Experiments and results

#### The Debian snapshots and the comparison

The authors use Debian GNU/Linux as a large component repository with a history of public releases. They examine stable releases from 1994 to February 2009. In each release they use the `main` archive for `i386`, which they describe as widely used and available consistently enough for historical comparison. The selection puts earlier and later releases on a common footing. Each snapshot supplies its own package universe, so the possible installations and the strong edges are specific to the release under examination.

For the direct graph, the authors include references from `Depends` and `Pre-Depends`. They then compute strong dependencies for the same package universe using the installation rules. Direct sensitivity is the baseline for the package-level comparison. The authors report correlations across packages, means and standard deviations of sensitivity, and cases where the strong count greatly exceeds the direct one. They also compare graph structure after reducing transitive redundancy in the strong graph. These measurements answer different questions. A rank correlation describes how similarly the measures order packages, while the largest gaps expose individual packages whose position could matter for a maintenance decision.

Across the releases, the repository grew, with a slower rate of growth in the latest releases examined. The full strong graph contained more edges than the direct graph in every release. This may seem surprising after the examples in which strong dependency discards direct alternatives. The count also includes required packages reached through intermediate dependencies. A strong relation that follows from a chain is still recorded as an edge in the full graph. The raw edge totals therefore combine the effects of dropping avoidable direct references and adding necessary relationships that the metadata expresses only indirectly.

#### Agreement across releases and exceptions in Lenny

Across releases the Spearman rank correlation between direct and strong sensitivity lies between 0.91 and 0.94. The paper also reports that the ordinary correlation coefficient `r` is consistently 0.55 for the same data. Rank correlation emphasizes ordering. The ordinary coefficient responds to the numerical values, so exceptionally large gaps have more leverage in that comparison. The authors read the discrepancy as a reason to examine packages far from the general pattern. For Debian 5.0, the paper also reports a mean direct sensitivity of 5.07 and a mean strong sensitivity of 36.05. These are averages across packages, and the high standard deviations indicate that packages vary considerably in how many others they can affect.

For Debian 5.0, known as Lenny, the authors examine the distribution of the signed gap between strong and direct sensitivity across packages. They report that 82.9% fall in the interval around the mean spanning one standard deviation on either side. The coverage rises to 97.4% for two standard deviations and 99.8% for three. The paper also reports that strong sensitivity is higher for most packages. The extreme cases are worth inspecting because a small part of the distribution can contain packages that a release manager especially needs to notice.

`libc6`, which supplies the C standard library, is prominent under both measures. In Lenny its direct sensitivity is 10,442, and the authors report a strong sensitivity of 20’126 in an archive of 22’311 packages. The direct count already marks it as a major dependency. The strong count shows that its reach extends much further through the archive. A package can depend on a library indirectly through other packages, even when its own declaration leaves that library out.

`gcc-4.3-base` gives the clearest example of a package that the direct count could cause a maintainer to overlook. The paper identifies it as necessary for `libc6` to be installable, although `libc6` does not name it directly. It has Lenny’s largest reported signed gap, 20,085. The important point is where the large impact set comes from. Packages that cannot be installed without `libc6` also cannot be installed without a package necessary to `libc6`. That relationship holds regardless of how rarely those packages mention the underlying component themselves.

Direct and strong sensitivity of gcc-4.3-base in Debian 5.0 The strong measure reveals a much larger set of dependent packages than the direct count suggests.

**The numbers**

| System or setting | dependent packages |
| --- | --- |
| Direct sensitivity | 43 |
| Strong sensitivity (this paper) | 20,128 |

In this comparison, “higher” means that the metric identifies a larger potential reach for the package. `libgcc1` shows a related pattern, with direct sensitivity of 3011 and strong sensitivity of 20,126. In its case, the paper identifies a direct dependency from `libc6`. The examples show how much reach can come through a package such as `libc6` whether the next necessary component is named by that package or reached further along its requirements.

Other examples show why the analysis extends beyond that chain. `ncurses-bin` has direct sensitivity of 1 and strong sensitivity of 7721. `libx11-data` also has direct sensitivity of 1, with strong sensitivity of 6693. In each case, a single incoming reference in the direct graph accompanies a mandatory role in thousands of packages’ installations. The familiar picture of a hub as a vertex with many incoming references misses a responsibility expressed through the rest of the graph.

#### Groups of packages and the small-world comparison

The authors display relative dominance among the first 20 entries in the ranking by the gap between the two sensitivities. They report five groups of related packages in that view. The graph distinguishes exact dominance from relative dominance and annotates the latter with the amount of uncovered impact. This gives the reader a way to see whether several large sensitivity values reflect a shared group of dependent packages. A widely required package and the components it necessarily brings along may occupy several lines in the same ranking while representing closely related maintenance concerns.

The historical dominance views show small groups in the early releases and growth in the graph from Debian 2.2. The paper highlights a group associated with KDE in Debian 3.1. Within it, `kde-amusements` partially overlaps with `kde-games` and `kdeedu`. The authors present this as an example of an architectural detail made visible by the grouping, and report that the overlap was corrected in later Debian versions. In the Debian 5.0 view the largest groups are associated with GNOME and KDE. They illustrate how dependencies can concentrate around collections of related software, even when the full graph has too many edges to inspect comfortably.

For the small-world comparison, the authors first remove transitive redundancy from the strong graph. Retaining every consequence of a chain would directly affect distances and the number of connections among neighbors. A graph where each such consequence is shown as an edge can make a requirement several steps away appear adjacent. The reduced graph lets the authors compare network properties while limiting that effect. Cycles leave a choice about how to remove redundant edges, and the authors say the differences between reductions are minor for their conclusions.

The direct and reduced strong graphs for Debian 5.0 both have 22,311 vertices. The direct graph has 107,796 edges and the reduced strong graph has 40,074. The reported clustering coefficient, which describes the degree to which neighboring vertices also connect to one another, is 0.41 for the direct graph and 0.39 for the reduced strong graph. The reported average distance is 3.18 in the direct graph and 2.86 in the reduced strong graph. The authors consider both sets of measurements consistent with a small-world structure. A graph with many fewer edges still exhibits local clustering and short paths under their analysis.

Both graphs also have one large weakly connected component. Weak connectivity asks whether vertices can be linked when the directions of their edges are disregarded. The largest such component contains 20,831 vertices in the direct graph and 19,200 in the reduced strong graph. The graph densities, defined as the fractions of possible edges that are present, are 0.00022 and 0.000081 respectively. The archive therefore has a large connected core in both views even though only a small fraction of possible links occur. These reduced-graph figures concern a different representation from the earlier release-wide edge totals, which count the full strong relation.

#### Computation at archive scale

The authors report that computing the strong graph and sensitivity index for about 22’000 packages takes about 5 minutes. They give the machine as a Unix workstation with an Intel Xeon 3 GHz processor and 3 Gb of memory. This result concerns a full archive computation on the stated hardware. The paper explains the impracticality of trying every pair and reports the runtime of the optimized procedure. Its performance evidence is the ability to build a graph on the scale of the archive examined, including the semantic checks that a direct graph construction avoids.

The result also matters for the proposed applications. An archive-wide calculation can be reused to answer many questions about particular packages. Once the graph exists, a maintainer can inspect the incoming strong edges for a package being considered for removal, or look at several packages together in a dominance graph. The initial computation supplies the repository-level information. Each later query can focus on the part relevant to the decision.

### What the ablations show

The paper contains no formal ablation study, but compares direct and strong graphs across releases, examines outlying packages, and analyzes what becomes visible through dominance and through reduction of the strong graph.

#### Where the direct baseline loses information

The direct-versus-strong comparison changes the definition of an edge while keeping the package universe fixed within each release. The high rank correlations establish that both measures reflect much of the same broad ordering. The examples with a large gap then show where the convention used to draw the edge changes what a maintainer sees. It matters for `libc6` largely by increasing the estimated extent of a package that already appears important. It matters for `gcc-4.3-base` by exposing a large dependency footprint behind a modest direct count. Examining those cases separately helps distinguish an adjustment in an already prominent package’s estimated reach from the discovery of a critical package that a direct ranking could place far down the list.

The small repository examples explain the underlying mechanisms. When the alternatives are all independently viable, a direct reference can correspond to a package that is avoidable. When conflicts rule out one alternative, the other can become necessary. When necessary dependencies form a chain, the final package is required even if the starting package never mentions it. The archive-wide results combine these mechanisms. The reported correlations and gap rankings do not assign a separate quantitative contribution to each, so a particular extreme case is best explained from the dependencies the authors identify for it.

The performance discussion likewise describes distinct sources of savings without measuring them in separate runs. Following conjunctive paths replaces some solver calls with conclusions already warranted by the metadata. Starting from a healthy installation removes every absent package from consideration, including packages that a broad reachability search might still leave on the candidate list. The runtime belongs to the combined procedure. The exact effect of each shortcut on workload remains open in the reported measurements.

#### What set comparison adds to a ranking

Dominance tests whether large counts refer to substantially the same packages. The paper’s schematic cases hold the general scale of the counts similar while varying how the sets relate. If the packages have no strong dependence on each other, proximity in a ranking gives no reason to group them. If one requires the other, its impact set contributes to that of the required package. Exact dominance checks whether that contribution and the successor exclusion fully explain the larger set. Relative dominance shows how much remains outside the explanation. A maintenance team can consequently tell where several high-ranked entries belong to the same dependency structure and where a similarly ranked package serves other parts of the repository.

In the Debian examples, the graph is a way to present those set relationships to a reader. The Lenny display groups entries selected for a large sensitivity gap. The KDE example uses the same approach to inspect an apparent overlap among packages associated with a desktop suite. These examples demonstrate what the visualization can reveal about the repository. They do not measure the time it saves maintainers or the number of architectural problems it helps them resolve.

#### Which graph properties survive the change

The small-world analysis checks whether a conclusion drawn from the direct graph holds once the edges reflect installation necessity. Reducing the strong graph first keeps the comparison from being dominated by guaranteed transitive shortcuts. The strong graph used for this comparison is considerably sparser and retains similar values of clustering and average distance. The result supports the authors’ observation that Debian remains small-world under the strong relationship. It does not depend on the direct graph giving a reliable estimate of every package’s sensitivity. Global clustering and path behavior can resemble each other even where the graph representation makes a substantial difference to particular packages.

### Limitations

#### Limits the authors identify

The definition covers packages and the rules declared for them. A strong dependency establishes that one package must be present in every healthy installation of another. This gives the strongest guarantee for the archive removal scenario. With the remaining package metadata fixed, removing a package eliminates all healthy installations of packages that strongly depend on it. When a package is upgraded or develops a bug, necessity identifies exposure to a potential problem. Whether the affected functionality is used and whether the change actually causes trouble are separate empirical questions.

The authors propose using the current installation to make an archive-wide impact set more relevant to a particular machine. The local impact set includes the members of the strong impact set that are present on that machine.

```
Is(p, R) ∩ I
```

Here `p` is the package being assessed, `R` is the relevant repository, and `Is(p, R)` is the set of packages that strongly depend on `p`. `I` is the current local installation. The intersection sign `∩` retains packages belonging to both sets. The authors propose summing the sizes of these intersections for the packages touched by the upgrade plan. They use the repository snapshot known before the upgrade was planned, because the question concerns the installation currently in service. Updating the strong graph after the upgrade prepares it for the next assessment.

The authors give an example of what this local intersection misses. Package `p` requires `q` or `r`. Both options are available in the repository, but the current machine contains `p` and `q`. The repository allows a healthy installation of `p` that uses `r`, so `p` is outside the strong impact set of `q`. On the machine being upgraded, however, `q` is the package actually satisfying the requirement. Changing it can affect `p`. A global guarantee intersected with a local installation underestimates the set of relationships that may matter on that particular machine.

The conclusion identifies a related uncertainty about how to treat alternatives when examining possible consequences of a bug. The metadata can describe which alternatives satisfy a clause. The authors raise the question of whether more information about ordering or selection would make the local assessment more informative, noting that some Debian tools already act on the order in which alternatives are written. They leave refinement of the local impact set open.

The authors also identify a missing empirical link. Public bug reports exist, but the ecosystem generally lacks records of upgrade attempts that can be reliably joined to particular reports of breakage. Such records would be needed to estimate how a sensitivity value relates to the chance of a failed upgrade. The paper therefore uses sensitivity to indicate potential reach and presents the upgrade uses as proposals. Its measured results concern package graphs, not outcomes of upgrade attempts.

Finally, the paper notes that the reduced strong graph used for network analysis can vary in the presence of cycles. The authors judge that this variation leaves their overall findings intact. The reported clustering and distance figures describe their reduction. Reading them as properties of the full, transitively closed graph would give the figures a different meaning.

#### Limits visible in the setup

The archive choices give the longitudinal comparison consistency and bound its scope. The measurements describe stable Debian releases for `main` on `i386` through February 2009. The definition can be applied to other repositories with suitable dependency rules, but the reported correlations, packages, runtimes, and network characteristics are evidence from this case. The balance among conjunctive paths, viable alternatives, and conflicts could differ elsewhere. A change in that balance would matter both for what sensitivity reveals and for how frequently the solver needs to intervene.

The formal existence condition also matters for interpreting the calculations. The paper describes the impact set as containing the package itself, and its sensitivity formula subtracts that member. This interpretation presumes that the package is installable. The abbreviated computation presents conjunctive inference before it shows the search for an installation. Its justification requires the same premise. On an archive with uninstallable packages, an implementation would have to respect the existence condition before accepting those inferred edges or applying the self-count convention. Debian release quality assurance is described as seeking a coherent repository where each package has a healthy installation, which explains why that premise fits the maintenance setting.

The agreement between a high sensitivity score and a prominent place in the package ecosystem is evidence about dependence under the declared rules. A full operational account would need information about how a system is used and about the behavior of the replacement package. The method also counts packages with equal weight. A large impact set shows broad potential exposure in package terms. It supplies no weighting for differences in the importance of those packages to the administrator of a specific machine.

Summing the sizes of the local impact sets introduces a further distinction. A locally installed package can belong to the impact sets of several packages touched by the same plan, in which case the sum counts it more than once. That can be read as repeated exposure in the aggregate proposed by the authors. The number of distinct packages potentially affected would require knowing the union of the relevant sets. The reported analysis does not validate either aggregate against observed upgrade incidents, and its example shows that some locally selected alternatives would elude the underlying sets in either case.

Similar care applies to the proposal for release upgrades. Comparing strong successors in the old and new snapshots can reveal packages that become mandatory when an administrator switches to a different major software version. The authors use the choice between the Apache 1.x and 2.x series to motivate such a comparison. It addresses a question an ordinary upgrade plan can leave unclear, since such a plan may include both necessary and incidental changes. The paper presents the proposal as a way to identify forced requirements. It supplies no evaluation of how well this information guides administrators through actual release transitions.

### What came after

The paper’s clearest observation about a subsequent change is within Debian itself. In the Debian 3.1 KDE group, the dominance view exposes a partial overlap involving `kde-amusements`, `kde-games`, and `kdeedu`. The authors report that later Debian versions corrected it. The account documents a repository change and illustrates what a historical dependency view can reveal. It leaves open whether the visualization played any role in the correction.

The paper identifies a follow-up question about moving packages between Debian’s `unstable` and `testing` repositories. Packages uploaded to `unstable` can migrate to `testing` once they satisfy quality criteria, including preserving package installability in the destination archive. The authors describe the existing practice as relying on empirical attempts to migrate packages individually. They suggest studying whether strong dependencies and dominance expose groups that need coordinated migration. A strong dependency can explain why a package relies on another candidate being available, and a dominance group can show a part of the archive worth inspecting together. Determining when packages must migrate together would still require checking the requirements against the versions and alternatives in the destination.

Another proposed direction concerns repository architecture. A dominance graph can reveal overlapping package groups and clusters that a maintainer may want to examine. The authors suggest combining those graphs with information about upstream source code and the developers responsible for the packages. Such information could help explain why an apparent overlap exists. The paper establishes the dependency view and provides the Debian examples. The combined analysis remains a direction the authors propose.

The upgrade work also leaves a concrete empirical question. The authors describe a Mancoosi effort to collect records of upgrade problems. A record that links a particular attempted upgrade to its outcome would make it possible to compare the packages identified as exposed with the failures users actually observe. Together with a more precise treatment of selected alternatives, that would extend the analysis from repository-wide necessity towards the circumstances of individual upgrades. These are follow-up directions identified by the authors. No subsequent research study is identified that tests or extends them.

## Cite

Cite as Pietro Abate, Jaap Boender, Roberto Di Cosmo and Stefano Zacchiroli. 2009. Strong Dependencies between Software Components. arXiv:0905.4226.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.0905.4226](https://doi.org/10.48550/arxiv.0905.4226) · [arXiv 0905.4226](https://arxiv.org/abs/0905.4226)

```bibtex
@misc{abate2009strong,
  title = {{Strong Dependencies between Software Components}},
  author = {Pietro Abate, Jaap Boender, Roberto {Di Cosmo} and Stefano Zacchiroli},
  year = {2009},
  doi = {10.48550/arxiv.0905.4226},
  eprint = {0905.4226},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.0905.4226}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
