ref: refs/heads/master
commit 2cb6583a7a8c76409ed6cbdd5120dab0f8447e30
Author: Michael Andres
Date: Fri Nov 6 13:32:20 2009 +0100
dup: Process drop list only if product actually changes. (bnc #552180)
---
zypp/solver/detail/SATResolver.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zypp/solver/detail/SATResolver.cc b/zypp/solver/detail/SATResolver.cc
index 1e73b15..7826db2 100644
--- a/zypp/solver/detail/SATResolver.cc
+++ b/zypp/solver/detail/SATResolver.cc
@@ -629,8 +629,8 @@ SATResolver::solverInit(const PoolItemList & weakItems)
if ( (*it)->onSystem() ) // (to install) or (not to delete)
{
Product::constPtr prodCand( (*it)->candidateAsKind<Product>() );
- if ( ! prodCand )
- continue; // product no longer available
+ if ( ! prodCand || (*it)->identicalInstalledCandidate() )
+ continue; // product no longer available or unchanged
CapabilitySet droplist( prodCand->droplist() );
dumpRangeLine( MIL << "Droplist for " << (*it)->candidateObj() << ": " << droplist.size() << " ", droplist.begin(), droplist.end() ) << endl;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org