added self conflicts in the error message
authorStefan Schubert <schubi@suse.de>
Mon, 21 Apr 2008 16:57:43 +0000 (16:57 +0000)
committerStefan Schubert <schubi@suse.de>
Mon, 21 Apr 2008 16:57:43 +0000 (16:57 +0000)
zypp/solver/detail/SATResolver.cc

index c3f6fd7..6136c56 100644 (file)
@@ -884,6 +884,10 @@ string SATResolver::SATprobleminfoString(Id problem, string &detail, Id &ignoreI
          s2 = pool_id2solvable(pool, target);
          ret = str::form (_("%s obsoletes %s provided by %s"), solvable2str(pool, s), dep2str(pool, dep), solvable2str(pool, s2));
          break;
+      case SOLVER_PROBLEM_SELF_CONFLICT:
+         s = pool_id2solvable(pool, source);
+         ret = str::form (_("Solvable %s conflicts with %s provided by itself"), solvable2str(pool, s), dep2str(pool, dep));
+          break;         
       case SOLVER_PROBLEM_DEP_PROVIDERS_NOT_INSTALLABLE:
          ignoreId = source; // for setting weak dependencies
          s = pool_id2solvable(pool, source);