disable the display of the error messages for DoInstall if DoBuildDep
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 5 Aug 2012 23:09:07 +0000 (01:09 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 5 Aug 2012 23:09:07 +0000 (01:09 +0200)
is calling the helper (enabled by enforcing failure reporting)

cmdline/apt-get.cc

index 6b6c8a2..4e307b6 100644 (file)
@@ -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();