From 45432cc57144715109f27d0bb83356b12e2a4ef5 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 30 Jan 2025 13:46:09 +0100 Subject: solver3: Remove NewUnsatRecommends group This is more or less unused; but it particularly has the bad problem of forcing new unsat recommends to be solved *before* dependencies. Which is awkward. --- apt-pkg/solver3.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'apt-pkg/solver3.cc') diff --git a/apt-pkg/solver3.cc b/apt-pkg/solver3.cc index b876636c6..ce38d75d8 100644 --- a/apt-pkg/solver3.cc +++ b/apt-pkg/solver3.cc @@ -603,8 +603,6 @@ bool APT::Solver::EnqueueOrGroup(pkgCache::DepIterator start, pkgCache::DepItera return true; } } - else if (workItem.optional && start.ParentPkg()->CurrentVer == 0) - workItem.group = Group::NewUnsatRecommends; if (not workItem.solutions.empty()) { -- cgit v1.2.3-70-g09d2