Dependency Solving Is Still Hard, but We Are Getting Better at It
Authors:
- 1 February 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 547-551
Abstract
Dependency solving is a hard (NP-complete) problem in all non-trivial component models due to either mutually incompatible versions of the same packages or explicitly declared package conflicts. As such, software upgrade planning needs to rely on highly specialized dependency solvers, lest falling into pitfalls such as incompleteness—a combination of package versions that satisfy dependency constraints does exist, but the package manager is unable to find it. In this paper we look back at proposals from dependency solving research dating back a few years. Specifically, we review the idea of treating dependency solving as a separate concern in package manager implementations, relying on generic dependency solvers based on tried and tested techniques such as SAT solving, PBO, MILP, etc. By conducting a census of dependency solving capabilities in state-of-the-art package managers we conclude that some proposals are starting to take off (e.g., SAT-based dependency solving) while—with few exceptions—others have not (e.g., outsourcing dependency solving to reusable components). We reflect on why that has been the case and look at novel challenges for dependency solving that have emerged since.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- A modular package manager architectureInformation and Software Technology, 2013
- Dependency solving: A separate concern in component evolution managementJournal of Systems and Software, 2012
- aspcud: A Linux Package Configuration Tool Based on Answer Set ProgrammingElectronic Proceedings in Theoretical Computer Science, 2011
- Apt-pbo2010
- The Sat4j library, release 2.2Journal on Satisfiability, Boolean Modeling and Computation, 2010
- NixOS: A purely functional Linux distributionJournal of Functional Programming, 2010
- Expressing advanced user preferences in component installation2009
- Package upgrades in FOSS distributions2008
- OPIUM: Optimal Package Install/Uninstall Manager2007
- Managing the Complexity of Large Free and Open Source Package-Based Software Distributions2006