On Tue, Jan 26, 2010 at 2:36 PM, Tim Lauridsen <[email protected]
> wrote:
> Stop format_missing_requires from exploding, if ayum is not set (current
> yumex uses DepSolveProgressCallback(), fixed upstream to use
> DepSolveProgressCallback(ayum=self), but other users can hit this too) (rhbz
> #558770)
>
> Tim
>
diff --git a/yum/__init__.py b/yum/__init__.py
index 70ac05c..4985da6 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -940,6 +940,14 @@ class YumBase(depsolve.Depsolve):
else:
# If we cant solve the problems the show the original error
messages.
self.verbose_logger.info("Skip-broken could not solve
problems")
+ self.verbose_logger.debug(_("Skip-broken took %i rounds "),
count)
+ self.verbose_logger.debug(_('\nPackages skipped because of
dependency problems:'))
+ skipped_list = [p for p in skipped_po]
+ skipped_list.sort()
+ for po in skipped_list:
+ msg = _(" %s from %s") % (str(po),po.repo.id)
+ self.verbose_logger.debug(msg)
+ self.skipped_packages = skipped_list # make the skipped
packages public
return 1, orig_restring
return rescode, restring
--
Forget about this part, it should not have been commited, in this patch
Tim
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel