summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-10-25 20:49:29 +0000
committerJulian Andres Klode <jak@debian.org>2025-10-25 20:49:29 +0000
commiteffd872a512beeaee314c2761640ef0b8e973b3d (patch)
tree2a0bd97ee32e579cd70dc05fedd096c50871f78b /apt-pkg/solver3.h
parent2698c1e186accebefa320ebacde7ec3c40c66c29 (diff)
parenta3fca052ca21ad222ac7f2fdd7f3fe84b44beb60 (diff)
Merge branch 'solver3' into 'main'
Enable the new solver by default in 0.31, 1.21, 2.11, 3.1 See merge request apt-team/apt!527
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 8d834b313..45b55d962 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -237,7 +237,7 @@ class Solver
// \brief If set, removals are allowed.
bool AllowRemove{_config->FindB("APT::Solver::Remove", not(requestFlags & EDSP::Request::FORBID_REMOVE))};
// \brief If set, removal of manual packages is allowed.
- bool AllowRemoveManual{AllowRemove && _config->FindB("APT::Solver::RemoveManual", false)};
+ bool AllowRemoveManual{AllowRemove && _config->FindB("APT::Solver::RemoveManual", true)};
// \brief If set, installs are allowed.
bool AllowInstall{_config->FindB("APT::Solver::Install", not(requestFlags & EDSP::Request::FORBID_NEW_INSTALL))};
// \brief If set, we use strict pinning.
@@ -477,6 +477,8 @@ struct APT::Solver::State
// Vars < 0 are package ID, reasons > 0 are version IDs.
const Clause *reason{};
+ const char *reasonStr{};
+
// \brief The depth at which the decision has been taken
depth_type depth{0};