From: David Kalnischkies Date: Fri, 13 Aug 2010 23:21:50 +0000 (+0200) Subject: do not unconditional print the new debugoutput for "FixByInstall" X-Git-Tag: 0.8.0^2~1^2~16 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/443266ef94244f2c6854f34ddbacf1fcacfdb0f6 do not unconditional print the new debugoutput for "FixByInstall" --- diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index 5641869ab..3c8711b74 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -1052,7 +1052,8 @@ bool pkgProblemResolver::Resolve(bool BrokenFix) solving this dependency. This helps every time a previous solver is removed by the resolver because of a conflict or alike but it is dangerous as it could trigger new breaks/conflicts… */ - std::cout << " Try Installing " << Start.TargetPkg() << " before changing " << I.FullName(false) << std::endl; + if (Debug == true) + clog << " Try Installing " << Start.TargetPkg() << " before changing " << I.FullName(false) << std::endl; unsigned long const OldBroken = Cache.BrokenCount(); Cache.MarkInstall(Start.TargetPkg(), true, 1, false); // FIXME: we should undo the complete MarkInstall process here