]> git.saurik.com Git - apt.git/commitdiff
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 6b6c8a23f143f0995e00c20886d7d33de487ab22..4e307b65737ef54bfd58aeb253b1650ebbb07b79 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();