---
title: "Dependency Solving Is Still Hard, but We Are Getting Better at It"
description: "The paper deals with dependency solving in package managers. Cited by 1 paper here. Among them: 30."
authors: ["Pietro Abate", "Roberto Di Cosmo", "Georgios Gousios", "Stefano Zacchiroli"]
year: 2020
venue: "arXiv:2011.07851 (2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER), Feb 2020, London, Canada. pp.547-551)"
source: "https://arxiv.org/abs/2011.07851"
doi: "10.1109/saner48275.2020.9054837"
arxiv: "2011.07851"
licence: "arXiv — non-exclusive licence to distribute"
licence_url: "https://arxiv.org/licenses/nonexclusive-distrib/1.0/license.html"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/abate-2020-dependency-solving-still-hard-but/"
---
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/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abate-2020-dependency-solving-still-hard-but/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/page/7/) / Dependency Solving Is Still Hard, but We Are Getting Better at It

# Dependency Solving Is Still Hard, but We Are Getting Better at It

**Authors:** Pietro Abate, Roberto Di Cosmo, Georgios Gousios and Stefano Zacchiroli · **Year:** 2020 · **Venue:** arXiv:2011.07851 (2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER), Feb 2020, London, Canada. pp.547-551) · **Licence:** [arXiv — non-exclusive licence to distribute](https://arxiv.org/licenses/nonexclusive-distrib/1.0/license.html)

**Links:** [Publisher's page](https://doi.org/10.1109/saner48275.2020.9054837) · [PDF](https://arxiv.org/pdf/2011.07851) · [DOI 10.1109/saner48275.2020.9054837](https://doi.org/10.1109/saner48275.2020.9054837) · [arXiv 2011.07851](https://arxiv.org/abs/2011.07851) · [OpenAlex](https://openalex.org/W3014410422)

**Citations:** 30 citations (OpenAlex, 2026-10-14) · 1 in our library, of the 151,627 papers whose bibliographies we read

## Summary
The paper deals with dependency solving in package managers. The problem becomes NP-complete as soon as a system allows multiple versions of the same package but forbids installing them side by side, or supports explicit conflicts between packages. The authors revisit their own proposal from the days of the Mancoosi project. Its essence: move dependency solving into a separate module and delegate it to proven general-purpose solvers based on SAT, PBO, MILP, or ASP. Problems are passed between the package manager and the solver via the common CUDF format, so there is no need to write a custom solver each time. To check how much of this has come true, the authors conducted a census of contemporary package managers. It covered programming-language package managers from libraries.io as well as the Debian, RedHat, and Eclipse ecosystems. They compared versioning schemes, version pinning, range operators, soundness, completeness, and support for user-defined optimization criteria. The conclusion is that the SAT-based approach is gradually spreading, whereas outsourcing solving to external reusable components has hardly caught on. The paper summarizes the state of the field and outlines new challenges.

## Key points
- NP-completeness for Debian-style dependencies was proven in 2006. It was later shown that supporting multiple versions of a package while forbidding their simultaneous installation is sufficient for this.
- CUDF (Common Upgradeability Description Format) is a common language for package managers and solvers. It underpinned the MISC competition (2010–2012), whose data have been openly published (doi:10.5281/zenodo.3556644).
- Examples of CUDF solvers: apt-pbo (PBO), aspcud (Answer Set Programming), inesc (Max-SAT), p2cudf (PBO based on Sat4j), unsa (MILP via CPLEX).
- In opam, users can specify their own criteria, e.g. `--criteria="-changed,-removed"`, i.e. change and remove as little as possible in the system. Cargo renames symbols so that multiple versions of a library can coexist. If a version constraint cannot be satisfied, Cargo and Maven install the latest available version.
- New directions include containers and functional package managers (Nix, Guix), as well as pip's announced transition to full dependency solving. Another direction is security and license auditing via inter-package call graphs (the FASTEN project, H2020, contract 825,328).

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Institut national de recherche en sciences et technologies du numérique](https://md.research.elamur.ai/free/en/labs/institut-national-de-recherche-en-sciences-et-technologies-du-numerique/) — Research institute, Le Chesnay-Rocquencourt, France · 90 works · 26,142 citations
- [Université Paris Cité](https://md.research.elamur.ai/free/en/universities/universite-paris-cite/) — University, Paris, France · 22 works · 1,482 citations
- [Delft University of Technology](https://md.research.elamur.ai/free/en/universities/delft-university-of-technology/) — University, Delft, Netherlands · 9 works · 771 citations

📚 Shelves (3): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 19,503 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 18,805 works · [🗄️ Information Systems](https://md.research.elamur.ai/free/en/shelves/computer-science/information-systems/) · 1,888 works

## Cite

Cite as: Pietro Abate, Roberto Di Cosmo, Georgios Gousios and Stefano Zacchiroli. 2020. Dependency Solving Is Still Hard, but We Are Getting Better at It. arXiv:2011.07851 (2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER), Feb 2020, London, Canada. pp.547-551).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@misc{abate2020dependency,
  title = {{Dependency Solving Is Still Hard, but We Are Getting Better at It}},
  author = {Pietro Abate, Roberto {Di Cosmo}, Georgios Gousios and Stefano Zacchiroli},
  year = {2020},
  doi = {10.1109/saner48275.2020.9054837},
  eprint = {2011.07851},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/saner48275.2020.9054837}
}
```

- [← previous Coreference for Discourse Parsing: A Neural Approach](https://md.research.elamur.ai/free/en/papers/guz-2020-coreference-discourse-parsing-neural-approach/)
- [next → Sarcasm Identification and Detection in Conversion Context using BERT](https://md.research.elamur.ai/free/en/papers/a-2020-sarcasm-identification-detection-conversion-context/)
- [↑ back to papers of 2020](https://md.research.elamur.ai/free/en/papers/2020/page/7/)

*Updated 3 November 2026*

> 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)
