From: David Kalnischkies Date: Tue, 20 Sep 2011 12:21:23 +0000 (+0200) Subject: * apt-pkg/algorithms.cc: X-Git-Tag: 0.9.0~50^2~12 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/87da74517a0defa3450d0f3d8c3275f6963d0f5e?hp=-c * apt-pkg/algorithms.cc: - if a package is garbage, don't try to save it with FixByInstall --- 87da74517a0defa3450d0f3d8c3275f6963d0f5e diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index 2fca0f6af..4c2ea0f2d 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -1035,7 +1035,7 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix) if (BrokenFix == false || DoUpgrade(I) == false) { // Consider other options - if (InOr == false) + if (InOr == false || Cache[I].Garbage == true) { if (Debug == true) clog << " Removing " << I.FullName(false) << " rather than change " << Start.TargetPkg().FullName(false) << endl; diff --git a/debian/changelog b/debian/changelog index 787425193..a3018e4f6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,8 +11,10 @@ apt (0.8.16~exp7) experimental; urgency=low * cmdline/apt-get.cc: - follow Provides in the evaluation of saving candidates, too, for statisfying garbage package dependencies (Closes: #640590) + * apt-pkg/algorithms.cc: + - if a package is garbage, don't try to save it with FixByInstall - -- David Kalnischkies Tue, 20 Sep 2011 13:25:31 +0200 + -- David Kalnischkies Tue, 20 Sep 2011 14:19:38 +0200 apt (0.8.16~exp6) experimental; urgency=low