From: David Kalnischkies Date: Sun, 5 Aug 2012 23:09:07 +0000 (+0200) Subject: disable the display of the error messages for DoInstall if DoBuildDep X-Git-Tag: 0.9.7.4~1^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/4caf8231804dfce5a1a58a56dfe4df21a31be363 disable the display of the error messages for DoInstall if DoBuildDep is calling the helper (enabled by enforcing failure reporting) --- 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();