summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-05-25 14:16:53 +0200
committerJulian Andres Klode <jak@debian.org>2025-08-26 13:52:57 +0200
commit82cc584ee916df6bc558559b62863b34b069a710 (patch)
treed732e1cfa58f47b2f7da986f6d3cf5c0a4dca78d
parent28591b9ca76f5bf62942fea0b32fc6adac1f1318 (diff)
edsp: Clear architecture cache
We need to actually use the architecture values we set
-rw-r--r--apt-pkg/edsp.cc4
1 files changed, 4 insertions, 0 deletions
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<std::string> &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<std::string> *request = NULL;
if (LineStartsWithAndStrip(line, "Install:"))