Просмотр исходного кода

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

David Kalnischkies лет назад: 14
Родитель
Сommit
4caf823180
1 измененных файлов с 1 добавлено и 1 удалено
  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();