diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-05-09 22:23:17 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-06-11 16:49:03 +0200 |
commit | 9244f712396c10b674740cc79fdab61c47173d04 (patch) | |
tree | ed9dcc194dba59faae6340e8bea55c5b57b2c867 /cmdline/apt-get.cc | |
parent | 35cb34d721e11a9e7dfa9ccd29d5bd58da8f7efc (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-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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<aptDispatchWithHelp> 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}, |