X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1afd369d00f2f9272462ffc6c6e24f293a81459e..fce69e7a0f38299c57ef96ae1c1dd9a5379bfd5a:/apt-private/private-install.h diff --git a/apt-private/private-install.h b/apt-private/private-install.h index fcf4cbced..2187146d3 100644 --- a/apt-private/private-install.h +++ b/apt-private/private-install.h @@ -14,6 +14,9 @@ bool DoInstall(CommandLine &Cmd); +bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache, + std::map &verset); +bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache); bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true, bool Safety = true); @@ -92,6 +95,9 @@ struct TryToInstall { Cache->GetDepCache()->SetCandidateVersion(s->first); bool Success = true; + // the Changed list contains: + // first: "new version" + // second: "what-caused the change" std::list > Changed; for (std::list >::const_iterator s = start.begin(); s != start.end(); ++s)