handle installs of unneeded normally, error will be triggered later
authorKlaus Kaempf <kkaempf@suse.de>
Tue, 17 Jan 2006 20:29:19 +0000 (20:29 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Tue, 17 Jan 2006 20:29:19 +0000 (20:29 +0000)
zypp/solver/detail/ResolverQueue.cc

index 3a59f9e..c9ec8f7 100644 (file)
@@ -109,7 +109,8 @@ ResolverQueue::addResItemToInstall (ResItem_constPtr resItem)
     QueueItemInstall_Ptr item;
 
     if (_context->resItemIsPresent (resItem)
-       && (!resItem_status_is_satisfied(_context->getStatus (resItem)))) {
+       && (!resItem_status_is_satisfied(_context->getStatus (resItem)))
+       && (!resItem_status_is_unneeded(_context->getStatus (resItem)))) {
        WAR << resItem->asString() << " is already installed" << endl;
        return;
     }