summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-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:"))