diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2022-07-08 13:37:41 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2022-07-11 16:37:35 +0200 |
commit | e481022470322b50a3289d2397b42b6eeacfc6e7 (patch) | |
tree | 56f92c43edde0e29f2d2d9dc59c4b7ce5c20aba6 | |
parent | e077370ffcb3669a50a600e80356c2002e6b176d (diff) |
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.
-rw-r--r-- | apt-private/private-install.cc | 2 |
1 files changed, 0 insertions, 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(); |