From 231232ec8aa183421669ee7d984434028db7f97d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 20 Mar 2013 12:17:05 +0100 Subject: apt-pkg/edsp.cc: do not spam stderr in WriteSolution --- apt-pkg/edsp.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apt-pkg/edsp.cc b/apt-pkg/edsp.cc index 6ce9da784..b125d4bfb 100644 --- a/apt-pkg/edsp.cc +++ b/apt-pkg/edsp.cc @@ -474,8 +474,10 @@ bool EDSP::WriteSolution(pkgDepCache &Cache, FILE* output) { fprintf(output, "Autoremove: %d\n", Pkg.CurrentVer()->ID); if (Debug == true) + { fprintf(output, "Package: %s\nVersion: %s\n", Pkg.FullName().c_str(), Pkg.CurrentVer().VerStr()); fprintf(stderr, "Autoremove: %s\nVersion: %s\n", Pkg.FullName().c_str(), Pkg.CurrentVer().VerStr()); + } } else continue; -- cgit v1.2.3