set uninstall
authorStefan Schubert <schubi@suse.de>
Fri, 3 Feb 2006 16:23:45 +0000 (16:23 +0000)
committerStefan Schubert <schubi@suse.de>
Fri, 3 Feb 2006 16:23:45 +0000 (16:23 +0000)
zypp/solver/detail/Resolver_problems.cc

index a0f5d852f0b28d41e81dc1e6d2e21f85482b7523..fb669456f2abe71fb0b4ad75921c0d19c28e1a2f 100644 (file)
@@ -333,7 +333,9 @@ Resolver::problems (void) const
                what = str::form (_("%s cannot be installed due missing dependencies"), who.c_str());           
                details = misc_info->message();
                ResolverProblem_Ptr problem = new ResolverProblem (what, details);
-               // Add dummy provides
+               // uninstall
+               problem->addSolution (new ProblemSolutionUninstall (problem, item)); 
+               // ignore requirement
                problem->addSolution (new ProblemSolutionIgnoreRequires (problem, item, misc_info->capability())); 
                problems.push_back (problem);
                problem_created = true;