]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcachegen.cc
* cmdline/apt-get.cc:
[apt.git] / apt-pkg / pkgcachegen.cc
index 9820fde81996c413494970f74f4eb57834b8cba9..8e088ba68d1baaa037528bcb333e267d4722d824 100644 (file)
@@ -642,7 +642,7 @@ bool pkgCacheGenerator::FinishCache(OpProgress *Progress)
               bool const coInstall = ((V->MultiArch & pkgCache::Version::Same) == pkgCache::Version::Same);
               for (vector<string>::const_iterator A = archs.begin(); A != archs.end(); ++A)
               {
-                 if (*A == Arch)
+                 if (Arch == 0 || *A == Arch)
                     continue;
                  /* We allow only one installed arch at the time
                     per group, therefore each group member conflicts