Bug 442626

Summary: RFE: yum works out minimal deps. required for a set of packages (so order of requires: doesn't matter)
Product: [Fedora] Fedora Reporter: Jeremy Katz <katzj>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, jhutar, pmatilai, tcallawa, tim.lauridsen
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-29 20:58:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Katz 2008-04-15 20:58:14 UTC
Interesting little behavior with depsolving for festival.  It requires
festival-voice and festvox-arctic-hts.  The latter provides festival-voice.  But
there's a shorter named provider too.  Hence, they both get pulled in somewhat
unnecessarily.

Comment 1 James Antill 2008-04-15 21:27:05 UTC
 This doesn't stand much chance of getting fixed in the short term. as it
basically requires "weak deps" in our depsolver ... and it's painful.

 However there is a simplish work around, atm. festival.spec has:

Requires: festival-voice
[...]
Requires: festvox-slt-arctic-hts

...and AFAIK the deps. come out of rpmbuild in the order it sees them, so if you
reverse the above two lines rpm will record the deps. in the opposite order and
yum will process them in the opposite order and so see that -voice is already
satisfied when it comes to look for it.

 I'm 99% this will all work, but no guarantees :).


Comment 2 Jeremy Katz 2008-04-15 21:29:29 UTC
We should fix it some day though :)

Comment 3 Bug Zapper 2008-05-14 09:30:23 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 James Antill 2010-04-29 20:58:11 UTC
We now count the direct deps. ... this might have fixed the above case, but the pkg. is fixed anyway.
Doing anything much harder than that would probably be painful, in the short term. ... so I'm going to close this.