Browse Source

do not unconditional print the new debugoutput for "FixByInstall"

tags/debian/0.8.0^2
David Kalnischkies 11 years ago
parent
commit
443266ef94
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      apt-pkg/algorithms.cc

+ 2
- 1
apt-pkg/algorithms.cc View File

@@ -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


Loading…
Cancel
Save