summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index 2ca3404a0..35752a5c4 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -748,6 +748,12 @@ bool pkgProblemResolver::Resolve(bool BrokenFix)
output = fopen("/tmp/request.log", "w");
edspWriter::WriteRequest(Cache, output);
fclose(output);
+ if (ResolveInternal(BrokenFix) == false)
+ return false;
+ output = fopen("/tmp/solution.log", "w");
+ edspWriter::WriteSolution(Cache, output);
+ fclose(output);
+ return true;
}
return ResolveInternal(BrokenFix);
}