Bug 246078
Summary: | Wrong dependency calculations: kdebindings-3.5.6->3.5.7 upgrade | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kostas Georgiou <k.georgiou> | ||||||||||
Component: | yum | Assignee: | Jeremy Katz <katzj> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 7 | CC: | james.antill, jochen, rdieter | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | 3.2.2-1.fc7 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2007-08-15 19:48:08 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
Kostas Georgiou
2007-06-28 12:23:32 UTC
Created attachment 158116 [details]
yum update results
A little background wrt what Kostas is seeing: perl(DCOP) is provided by both kdebindings-3.5.6 and kdebindings-dcopperl-3.5.7 (moved to separate subpkg in update). kdesdk Requires: perl(DCOP) On existing system with kdebindings-3.5.6, kdesdk-3.5.6, trying to upgrade to kde-3.5.7 results in transaction trying to install kdebindings-3.5.6.i386 on x86_64 systems ?? (presumably to satisfy the perl(DCOP) dep using "shortest named pkg that provides it). It was suggested that adding to kdebindings-dcopperl: Obsoletes: kdebindings < 3.5.7 may help. If so, I'm ok with adding that to kdebindings packaging. For the record this happens in a machine with no i386 packages installed also. can you output a yum -d 6 update, please Created attachment 158119 [details]
yum -d 6 update output
yum -d 6 update output from a different machine (no i386 packages installed at
all on this machine)
Created attachment 158121 [details]
another yum -d6 log
Created attachment 158310 [details]
should sort the 'best' providers by distance from requesting arch
please apply this patch to depsolve.py in yum and see if the problem goes away.
I think it will
No luck with the patch :(, it doesn't do anything in this case since at that point we have: best_dist: 1 po_dist: 6 best: kdebindings-dcopperl - 3.5.7-1.fc7.1.x86_64 po: kdebindings - 3.5.6-1.fc7.i386 and neither of the if cases are taken so the lowest name wins replaces kdebindings-dcopperl with the i386 version of kdebindings right after the code you added in: if len(po.name) < len(best.name): best = po I didn't add it - I failed to add the 'elif' to it. Try this for me. on line: 592 - add 'el' to the 'if' that's there. then rerun Great, with the elif kdebindings-dcopperl is picked up and everything works correctly :) cool, it's committed and I'm closing this upstream *** Bug 246395 has been marked as a duplicate of this bug. *** yum-3.2.2-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. yum-3.2.2-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |