summaryrefslogtreecommitdiff
path: root/cmdline/apt.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-05-09 22:23:17 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-06-11 16:49:03 +0200
commit9244f712396c10b674740cc79fdab61c47173d04 (patch)
treeed9dcc194dba59faae6340e8bea55c5b57b2c867 /cmdline/apt.cc
parent35cb34d721e11a9e7dfa9ccd29d5bd58da8f7efc (diff)
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
Diffstat (limited to 'cmdline/apt.cc')
-rw-r--r--cmdline/apt.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc
index d388e4af4..cc73181c0 100644
--- a/cmdline/apt.cc
+++ b/cmdline/apt.cc
@@ -78,6 +78,7 @@ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/
// misc
{"edit-sources", &EditSources, _("edit the source information file")},
{"moo", &DoMoo, nullptr},
+ {"satisfy", &DoBuildDep, _("satisfy dependency strings")},
// for compat with muscle memory
{"dist-upgrade", &DoDistUpgrade, nullptr},