Mailinglist Archive: zypp-commit (325 mails)

< Previous Next >
[zypp-commit] r7292 - /trunk/libzypp/zypp/solver/detail/QueueItemInstall.cc
  • From: schubi2@xxxxxxxxxxxxxxxx
  • Date: Tue, 18 Sep 2007 12:00:24 -0000
  • Message-id: <20070918120024.8935E1755C@xxxxxxxxxxxxxxxx>
Author: schubi2
Date: Tue Sep 18 14:00:24 2007
New Revision: 7292

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7292&view=rev
Log:
Do not regarding requirements for packages which will be deleted in the 
same solver run. Bug 310618 

Modified:
    trunk/libzypp/zypp/solver/detail/QueueItemInstall.cc

Modified: trunk/libzypp/zypp/solver/detail/QueueItemInstall.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/solver/detail/QueueItemInstall.cc?rev=7292&r1=7291&r2=7292&view=diff
==============================================================================
--- trunk/libzypp/zypp/solver/detail/QueueItemInstall.cc (original)
+++ trunk/libzypp/zypp/solver/detail/QueueItemInstall.cc Tue Sep 18 14:00:24 2007
@@ -288,6 +288,12 @@
     /* Log which item need this install */
 
     if (_needed_by) {
+       
+       ResStatus neededStatus = context->getStatus(_needed_by);
+       if (neededStatus.isToBeUninstalled()) {
+           _XDEBUG( _needed_by << " will be uninstalled. So the requirement is not needed anymore");
+           return true;
+       }
 
        ResolverInfoNeededBy_Ptr info;
 

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages