summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-08-23 18:56:03 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-08-23 18:56:03 +0200
commitea479d9490c9bab63b13ace7a7cca4e0a4a6611d (patch)
tree890973d4e2c0104ed58fb9d31b2e7194b76c6568 /apt-pkg/algorithms.cc
parent9349f80796a4b0be3ce2e732029ddd4a6558f80a (diff)
parentf213b6ea7397f2ba5b770e1a30e57dc8438bf61e (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc3
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