Bug 442626 - RFE: yum works out minimal deps. required for a set of packages (so order of requires: doesn't matter)
Summary: RFE: yum works out minimal deps. required for a set of packages (so order of ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-15 20:58 UTC by Jeremy Katz
Modified: 2014-01-21 23:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-29 20:58:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.