HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
914cc8a
)
apt-pkg/algorithms.cc: show debug output only if debug option is given
author
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 31 Aug 2010 11:32:50 +0000
(13:32 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 31 Aug 2010 11:32:50 +0000
(13:32 +0200)
apt-pkg/algorithms.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/algorithms.cc
b/apt-pkg/algorithms.cc
index
d9e0d2f
..
bd9a9df
100644
(file)
--- a/
apt-pkg/algorithms.cc
+++ b/
apt-pkg/algorithms.cc
@@
-998,9
+998,10
@@
bool pkgProblemResolver::Resolve(bool BrokenFix)
*/
if (Cache[Pkg].CandidateVerIter(Cache) != Ver)
{
- clog << " Version " << Ver.VerStr() << " for "
- << Pkg.Name() << " is not a candidate, ignoring"
- << endl;
+ if (Debug)
+ clog << " Version " << Ver.VerStr() << " for "
+ << Pkg.Name() << " is not a candidate, ignoring"
+ << endl;
continue;
}