diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-08-06 01:09:07 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-08-06 01:09:07 +0200 |
commit | 4caf8231804dfce5a1a58a56dfe4df21a31be363 (patch) | |
tree | 60ea935e0a5f7512392053335612db3348f1b806 | |
parent | c1cd1ac2fd051a11ec5c3eafad68b39521594ed6 (diff) | |
download | apt-4caf8231804dfce5a1a58a56dfe4df21a31be363.tar.gz |
disable the display of the error messages for DoInstall if DoBuildDep
is calling the helper (enabled by enforcing failure reporting)
-rw-r--r-- | cmdline/apt-get.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 6b6c8a23..4e307b65 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(); |