In working on a fix for this, I noticed a change between yum-2.6.1 and
yum-3.0.6 that I think is a regression (or maybe it was an
unintentional fix).

First of all, by adding cracklib-dicts to exactarchlist, I'm able to
make yum-3.0.6 install cracklib.i386 and cracklib-dicts.i386
correctly. yum-2.6.1 still fails. I was trying to figure out the
difference in behavior and found this diff:

https://lists.dulug.duke.edu/pipermail/yum-cvs-commits/2006-September/000978.html

In particular this change to depsolve.py:

@@ -513,7 +514,7 @@

         if needmode is None:
             reqpkg = (name, ver, rel, None)
-            if hasattr(self, 'pkgSack'):
+            if self.pkgSack is None:


The change between the two lines is not equivalent. I think the change
was supposed to be "if self.pkgSack is not None". If the change is
correct, then I suppose yum-2.6.1 had it backwards.

j.
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to