ref: refs/heads/ma-misc
commit cfc8fcbc5bee99b54135112a7c61f878792ea3f5
Author: Michael Andres
Date: Mon Sep 7 17:12:48 2009 +0200
Fix resolution to force installation even if dependencies are missing. (bnc #531564)
---
zypp/solver/detail/SATResolver.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/zypp/solver/detail/SATResolver.cc b/zypp/solver/detail/SATResolver.cc
index 94f9fe4..8d0a2dc 100644
--- a/zypp/solver/detail/SATResolver.cc
+++ b/zypp/solver/detail/SATResolver.cc
@@ -948,6 +948,7 @@ string SATResolver::SATprobleminfoString(Id problem, string &detail, Id &ignoreI
ret = str::form (_("%s is not installable"), s.asString().c_str());
break;
case SOLVER_PROBLEM_NOTHING_PROVIDES_DEP:
+ ignoreId = source; // for setting weak dependencies
s = mapSolvable (source);
ret = str::form (_("nothing provides %s needed by %s"), dep2str(pool, dep), s.asString().c_str());
break;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org