diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-08-14 01:21:50 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-08-14 01:21:50 +0200 |
commit | 443266ef94244f2c6854f34ddbacf1fcacfdb0f6 (patch) | |
tree | e952d5a91d099d622612e2af3c0ccd9fcd2cb593 /apt-pkg/algorithms.cc | |
parent | 4bec02c237e8e218bc7d4bcf7142e0450480138b (diff) |
do not unconditional print the new debugoutput for "FixByInstall"
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r-- | apt-pkg/algorithms.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 |