With today's rawhide, redhat-artwork goes away due to an obsolete.  One
of its provides (which another package needs) has thus moved.  Given
that the mode of the obsoleted package is None, we don't then ever look
for other things to provide the now-gone provides.  Treating the
obsoleted case like an update seems to fix the problem and I haven't
managed to hit any other problems with it in testing.

Other opinions?

Jeremy
diff --git a/yum/depsolve.py b/yum/depsolve.py
index d3a8575..3f0f962 100644
--- a/yum/depsolve.py
+++ b/yum/depsolve.py
@@ -300,6 +300,13 @@ class Depsolve(object):
                 # check for mode by just the name
                 thismode = self.tsInfo.getMode(name=i_n)
                             
+            # if this package is being obsoleted, it's just like if it's
+            # being upgraded as far as checking for other providers
+            if thismode is None:
+                if filter(lambda x: x.obsoleted_by,
+                          self.tsInfo.matchNaevr(i_n, i_a, i_e, i_v, i_r)):
+                    thismode = 'u'
+
             if thismode is not None:
                 needmode = thismode
 
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to