ignoring not compatible with its own
authorStefan Schubert <schubi@suse.de>
Fri, 31 Mar 2006 16:28:12 +0000 (16:28 +0000)
committerStefan Schubert <schubi@suse.de>
Fri, 31 Mar 2006 16:28:12 +0000 (16:28 +0000)
zypp/solver/detail/QueueItemRequire.cc

index 034b2c3..0d660d1 100644 (file)
@@ -183,6 +183,11 @@ struct RequireProcess
            return true;
        }
 
+       if (!provider->arch().compatibleWith( _context->architecture() )) {
+           MIL << "provider " << provider << " has incompatible arch '" << provider->arch() << "'" << endl;
+           return true;
+       }
+
        if ( upgrades
             && upgrades.resolvable()->arch() != provider->arch()) {
            MIL << "provider " << provider << " has OTHER arch '" << provider->arch() << "' than the updated item "