From 4caf8231804dfce5a1a58a56dfe4df21a31be363 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 6 Aug 2012 01:09:07 +0200 Subject: disable the display of the error messages for DoInstall if DoBuildDep is calling the helper (enabled by enforcing failure reporting) --- cmdline/apt-get.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 6b6c8a23f..4e307b657 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1434,7 +1434,7 @@ bool TryToInstallBuildDep(pkgCache::PkgIterator Pkg,pkgCacheFile &Cache, if (Cache[Pkg].CandidateVer == 0 && Pkg->ProvidesList != 0) { CacheSetHelperAPTGet helper(c1out); - helper.showErrors(AllowFail == false); + helper.showErrors(false); pkgCache::VerIterator Ver = helper.canNotFindNewestVer(Cache, Pkg); if (Ver.end() == false) Pkg = Ver.ParentPkg(); -- cgit v1.2.3-70-g09d2