From b6f362e8013b03efce54e7381e0e22fac1fa1539 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 20 Nov 2023 10:02:21 +0100 Subject: Restore ?garbage by calling MarkAndSweep before parsing This ensures that things work correctly. LP: #1995790 --- apt-private/private-install.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apt-private') diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index e366634ad..2f254ca27 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -669,6 +669,9 @@ bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vectorMarkAndSweep(); + std::list mods; mods.push_back(APT::VersionSet::Modifier(MOD_INSTALL, "+", APT::VersionSet::Modifier::POSTFIX, APT::CacheSetHelper::CANDIDATE)); -- cgit v1.2.3-70-g09d2