summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-10-25 21:31:34 +0200
committerJulian Andres Klode <jak@debian.org>2025-10-25 22:16:54 +0200
commita3fca052ca21ad222ac7f2fdd7f3fe84b44beb60 (patch)
tree2a0bd97ee32e579cd70dc05fedd096c50871f78b /apt-pkg
parent8cd4bd5f708b69d536395675da4fce18d7f9c3f3 (diff)
solver3: Allow removing manually installed packages
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/solver3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 5590df5cc..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.