From e9796b9c21ee7d8e8f5d6e2a24db43fc4368b557 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 13 Apr 2018 12:32:35 +0200 Subject: Introduce experimental new hooks for command-line tools This allows third-party package managers like snap or flatpak to hook in and suggest alternatives if packages could not be found, for example. This is still highly experimental and the protocol might change in future versions. --- apt-private/private-install.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-private/private-install.h') diff --git a/apt-private/private-install.h b/apt-private/private-install.h index c8b065331..2d27756c9 100644 --- a/apt-private/private-install.h +++ b/apt-private/private-install.h @@ -18,7 +18,7 @@ class pkgProblemResolver; APT_PUBLIC bool DoInstall(CommandLine &Cmd); bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector &VolatileCmdL, CacheFile &Cache, - std::map &verset, int UpgradeMode); + std::map &verset, int UpgradeMode, std::set &UnknownPackages); bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector &VolatileCmdL, CacheFile &Cache, int UpgradeMode); bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache, int UpgradeMode); -- cgit v1.2.3