From e481022470322b50a3289d2397b42b6eeacfc6e7 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 8 Jul 2022 13:37:41 +0200 Subject: Let the auto installer loose for non-broken packages too Because the auto installer now also marks other binaries in the package for upgrade, we do need to run it or we don't mark those for upgrade. --- apt-private/private-install.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index cffec30a8..4cddc3e0c 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -1098,8 +1098,6 @@ void TryToInstall::doAutoInstall() { /*{{{*/ for (APT::PackageSet::const_iterator P = doAutoInstallLater.begin(); P != doAutoInstallLater.end(); ++P) { pkgDepCache::StateCache &State = (*Cache)[P]; - if (State.InstBroken() == false && State.InstPolicyBroken() == false) - continue; Cache->GetDepCache()->MarkInstall(P, true); } doAutoInstallLater.clear(); -- cgit v1.2.3-70-g09d2