[Yum-devel] check for providers obsoleting each other
seth vidal
skvidal at fedoraproject.org
Thu Feb 21 22:02:48 UTC 2008
This bug hit bugzilla today:
https://bugzilla.redhat.com/show_bug.cgi?id=430413
the issue is that faad2 and faad2-libs both provide the same item and
since all else is equal yum was choosing faad2 b/c the name is shorter.
So this patch
http://skvidal.fedorapeople.org/patches/yum-rule-out-provides-by-being-obsoletes.patch
ads an obsolete check for 'best package' If a package in the list of
possible providers obsoletes another one of the packages in the list
then the obsoleted package can't 'win' the bestpackage check.
I think I've implemented it in the right place for the case but this
code gets pretty stringy in places and I wanted to make sure I hadn't
missed something else.
Can someone check behind me?
-sv
--
I only speak for me.
More information about the Yum-devel
mailing list