Ver código fonte

disable the display of the error messages for DoInstall if DoBuildDep
is calling the helper (enabled by enforcing failure reporting)

David Kalnischkies 14 anos atrás
pai
commit
4caf823180
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      cmdline/apt-get.cc

+ 1 - 1
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();