summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2026-05-17 20:09:37 +0200
committerJulian Andres Klode <jak@debian.org>2026-05-17 20:10:59 +0200
commit10a05580e74e2ba5a5768d45c6f9feff216c8689 (patch)
tree3d8512cfa60ba13896de4bc1d46a061e2c1628df /apt-pkg/solver3.h
parent57cff6ed0173999f28fb421df9ee9ee3bf90df2d (diff)
solver3: Follow installed Suggests earlier
We accidentally followed "keepauto" and friends earlier, breaking `apt why` for suggested packages. Reported-By: uau on IRC
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 9af580b86..8d5e25906 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -102,15 +102,15 @@ enum class Group : uint8_t
InstallManual,
ObsoleteManual,
+ // Satisfy optional dependencies that were previously satisfied but won't otherwise be installed
+ SatisfySuggests,
+
// Automatically installed packages must come last in the group, this allows
// us to see if they were installed as a dependency of a manually installed package,
// allowing a simple implementation of an autoremoval code.
UpgradeAuto,
KeepAuto,
ObsoleteAuto,
-
- // Satisfy optional dependencies that were previously satisfied but won't otherwise be installed
- SatisfySuggests,
};
// \brief This essentially describes the install state in RFC2119 terms.