diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-05-25 14:16:53 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-08-26 13:52:57 +0200 |
| commit | 82cc584ee916df6bc558559b62863b34b069a710 (patch) | |
| tree | d732e1cfa58f47b2f7da986f6d3cf5c0a4dca78d /apt-pkg/edsp.cc | |
| parent | 28591b9ca76f5bf62942fea0b32fc6adac1f1318 (diff) | |
edsp: Clear architecture cache
We need to actually use the architecture values we set
Diffstat (limited to 'apt-pkg/edsp.cc')
| -rw-r--r-- | apt-pkg/edsp.cc | 4 |
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:")) |
