From 82cc584ee916df6bc558559b62863b34b069a710 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 25 May 2025 14:16:53 +0200 Subject: edsp: Clear architecture cache We need to actually use the architecture values we set --- apt-pkg/edsp.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apt-pkg/edsp.cc') diff --git a/apt-pkg/edsp.cc b/apt-pkg/edsp.cc index 02e8d4ef4..73c6889e5 100644 --- a/apt-pkg/edsp.cc +++ b/apt-pkg/edsp.cc @@ -601,7 +601,11 @@ bool EDSP::ReadRequest(int const input, std::list &install, { // empty lines are the end of the request if (line.empty() == true) + { + // Clear the architecture cache, since we may have set different ones + APT::Configuration::getArchitectures(false); return true; + } std::list *request = NULL; if (LineStartsWithAndStrip(line, "Install:")) -- cgit v1.2.3-70-g09d2