From 9244f712396c10b674740cc79fdab61c47173d04 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 9 May 2019 22:23:17 +0200 Subject: Introduce apt satisfy and apt-get satisfy Allow to satisfy dependency strings supplied on the command line, optionally prefixed with "Conflicts:" to satisfy them like Conflicts. Build profiles and architecture restriction lists, as used in build dependencies, are supported as well. Compared to build-dep, build-essential is not installed automatically, and installing of recommended packages follows the global default, which defaults to yes. Closes: #275379 See merge request apt-team/apt!63 --- cmdline/apt-get.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'cmdline/apt-get.cc') diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index fe6e22d81..7ef07fbf0 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -416,6 +416,7 @@ static std::vector GetCommands() /*{{{*/ {"full-upgrade", &DoDistUpgrade, nullptr}, {"dselect-upgrade", &DoDSelectUpgrade, _("Follow dselect selections")}, {"build-dep", &DoBuildDep, _("Configure build-dependencies for source packages")}, + {"satisfy", &DoBuildDep, _("Satisfy dependency strings")}, {"clean", &DoClean, _("Erase downloaded archive files")}, {"autoclean", &DoAutoClean, _("Erase old downloaded archive files")}, {"auto-clean", &DoAutoClean, nullptr}, -- cgit v1.2.3