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@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org