Bug 231549
| Summary: | yum fails to resolve dependancies when dep moves from perl to perl-devel | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Norwood <robin.norwood> | ||||||||
| Component: | yum | Assignee: | Jeremy Katz <katzj> | ||||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 6 | CC: | ackistler, bkearney, perl-devel, ville.skytta | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2007-03-14 04:36:43 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: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Robin Norwood
2007-03-08 21:58:57 UTC
Created attachment 149645 [details]
results of yum -d7 install 'perl(ExtUtils::MakeMaker)'
Created attachment 149646 [details]
log of irc conversation about this bug.
the irc conversation, for the curious or bored.
okay, this is odd - when I disable perl-10 I don't get a suggestion for the other pkg. Additional oddness: what happens when you have perl-10 and perl-14.1 enabled and you run: yum update I should have made clear: You should have perl-5.8.8-10 installed, and when you upgrade, have nothing that requires things in perl-devel, so that yum doesn't pull in perl-devel for you. I did this by doing an rpm -Uvh perl-5.8.8-14.1.i386.rpm, and removing the dependancies that rpm complains about. After this, I have perl-5.8.8-14 installed, but not perl-devel. This is the point at which yum cannot resolve perl(ExtUtils::MakeMaker) (but only when both perl-5.8.8-10 and perl-devel-5.8.8-14 are available to it. this is a shortest-name test going on. both perl-5.88-10 and perl-devel-5.8.8-14 provide the requirment. so yum is taking the shortest name, all other things be equal, which, of course, they are not. I think a few cases like this have been hacked/worked around in the past using versioned Obsoletes, eg. in this case possibly adding "Obsoletes: perl < 5.8.8-14" in perl-devel would trick yum into doing the right thing. Oops, perl has an Epoch set, so it should have been Obsoletes: perl < 4:5.8.8-14 I think we're also going to dodge this issue by making subpackage for the devel modules (e.g. perl-ExtUtils-MakeMaker). Ideally, I would hope that yum would only perform a shortest-name test after checking version and release of the conflicting packages (e.g. if I handed these to RPM, what would it do), but I know this is rather complicated. Created attachment 149861 [details]
patch to 3.0.4 which _should_ fix this bug
please apply this to 3.0.4 and see if it solves this bug.
confirmed fixed in patch. closing as nextrelease - 3.0.5 *** Bug 233796 has been marked as a duplicate of this bug. *** |