diff options
Diffstat (limited to 'apt-private/private-source.cc')
-rw-r--r-- | apt-private/private-source.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc index 9b47ce31f..5d1db5a50 100644 --- a/apt-private/private-source.cc +++ b/apt-private/private-source.cc @@ -652,6 +652,7 @@ bool DoBuildDep(CommandLine &CmdL) std::string const pseudoArch = hostArch.empty() ? nativeArch : hostArch; CacheFile Cache; + Cache.InhibitActionGroups(true); auto VolatileCmdL = GetPseudoPackages(Cache.GetSourceList(), CmdL, AddVolatileSourceFile, pseudoArch); auto AreDoingSatisfy = strcasecmp(CmdL.FileList[0], "satisfy") == 0; @@ -820,7 +821,6 @@ bool DoBuildDep(CommandLine &CmdL) APT::PackageVector removeAgain; { - pkgDepCache::ActionGroup group(Cache); TryToInstall InstallAction(Cache, &Fix, false); std::list<std::pair<pkgCache::VerIterator, std::string>> candSwitch; for (auto const &pkg: pseudoPkgs) @@ -856,7 +856,6 @@ bool DoBuildDep(CommandLine &CmdL) return false; { - pkgDepCache::ActionGroup group(Cache); if (_config->FindB(AreDoingSatisfy ? "APT::Get::Satisfy-Automatic" : "APT::Get::Build-Dep-Automatic", false) == false) { for (auto const &pkg: removeAgain) |