Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1325471
Summary: | resolving Supplements: dependencies pull in multilib packages | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steven Haigh <netwiz> |
Component: | libsolv | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | ignatenko, jreznik, jsilhan, kparal, michal.jnn, mluscon, netwiz, packaging-team-maint, pnemade, rdieter, rnovacek, robatino, than, ttomasz, vmukhame |
Target Milestone: | --- | Keywords: | CommonBugs |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | AcceptedBlocker AcceptedFreezeException https://fedoraproject.org/wiki/Common_F24_bugs#dnf-supplements | ||
Fixed In Version: | libsolv-0.6.20-2.fc24 libsolv-0.6.20-2.fc23 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-20 17:36:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1230434, 1230435 |
Description
Steven Haigh
2016-04-09 01:09:58 UTC
I'm pretty sure this isn't expected behavior, re-assigning to dnf for advice/comment also, the --exclude above should be --exclude=*.i686 Hrm, I hit the same thing on a pure 'dnf update' operation today, I suspect it may have to do with recently-introduced rich/soft dependencies in some qt/kde related packages. Yep, seems so, sudo dnf update --exclude=kde-platform-plugin makes it work as expected. So, kde-platform-plugin includes: Supplements: (kde-runtime and plasma-workspace) What I have currently installed: $ rpm -q kde-runtime plasma-workspace kde-platform-plugin kde-runtime-15.12.3-1.fc24.x86_64 plasma-workspace-5.5.5-10.fc24.x86_64 kde-platform-plugin-4.11.22-9.fc24.x86_64 My update transaction tries to pull in a newer plasma-workspace, but I do *not* expect it to want to pull in kde-platform-plugin.i686 on a x86_64 system. Would something like this work better? Supplements: (kde-runtime%{?_isa} and plasma-workspace%{?_isa}) I suspect not, since those are just virtual Provides and not real packages. If dnf devs can confirm this is expected behavior and not a bug, then we can consider other options. adjusting Summary to match my findings, I'll be submitting this as a f24 blocker Proposed as a Blocker for 24-final by Fedora user rdieter using the blocker tracking app because: Unsure if there's a specific criterion that covers this but... due to how dnf resolves (soft) Supplements: dependencies, it will pull in *all* providers, including multilib ones. My own expectation is that only native arch packages should get installed in this case. Bug 1325666 looks very similar. As a current workaround, I have added the following to each enabled repo in /etc/yum.repos.d/*.repo: exclude=*.i686 Although this isn't a great idea - I've added it here to assist others that have the same problem and need a workaround. This solved the problem of pulling in a ton of i686 updates today via a 'dnf -y update' on F24A. Discussed at today's blocker review meeting [1]. Voted as AcceptedBlocker (Final) AcceptedFreezeException (Beta) - details are not nailed down yet, but installing a ton of multilib packages on system update is considered a conditional violation of "The installed system must be able to download and install updates with the default console package manager." and accepted as a Final blocker and Beta freeze exception for now. decision may be changed based on later info [1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-04-11/ I hit the same/similar issue on my F24 KDE x86_64 (alpha) in VM with dnf update. The --exclude=*.i686 workaround worked. I have the debugdata stored from both: dnf update --debugsolver dnf update --debugsolver --exclude=*.i686 Let me know if you need them. kdelibs-4.14.18-3.fc24 kde-workspace-4.11.22-10.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-71fd10b77c The aforementioned update strictly doesn't fix this, is only really a workaround, but avoiding the use of the problematic Supplements: tag kde-workspace-4.11.22-10.fc24, kdelibs-4.14.18-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-71fd10b77c This probably shouldn't go to ON_QA for a band-aid workaround.... Sadly, I can't mark it as anything but closed though.... kde-workspace-4.11.22-10.fc24, kdelibs-4.14.18-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. Hello DNF team, is there any progress on this? We're trying to evaluate status of F24 blocker bugs. Thanks. I talked to jsilhan on IRC and they are now aware of this. Hopefully this being a blocker will increase its priority. Also Michael Schroeder replied and said it's a bug in libsolv and that he's going to fix it upstream. libsolv-0.6.20-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c46a2cafe7 libsolv-0.6.20-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-301d205cce I'm not sure how to test this. I tried to install kde-workspace-4.11.22-9.fc24 (the old version with Supplements), but it did not try to pull in any i686 deps. Rex, could you please either verify this or help me figure out how to do it? Thanks. It's not trivial to test, you need some packages that are both multilib'd and use Supplements. kdelibs/kde-workspace were changed to not use Supplements to avoid this bug. see comment #15 I suppose i can try to put some supplements back into some test packages and create a custom repo that includes both arches and see. (no promises when I'll be able to do that, I've several other important tasks to work on in the foreseeable future) libsolv-0.6.20-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-301d205cce libsolv-0.6.20-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c46a2cafe7 (In reply to Rex Dieter from comment #21) > It's not trivial to test, you need some packages that are both multilib'd > and use Supplements. kdelibs/kde-workspace were changed to not use > Supplements to avoid this bug. see comment #15 Can't we reuse the older kdelibs/kde-workspace packages to verify this? They're still in koji. I tried it, but don't know how exactly to trigger the original issue. Maybe I need to have something installed that I don't. It could be that bug 1320755 is another manifestation of the same issue (in a rawhide context). That bug has attached to it some debugging data which were requested. Yes, it appears bug #1320755 is (essentially) a dup of this one, and reported before the workaround(s) landed in comment #15, I'll mark it as such *** Bug 1320755 has been marked as a duplicate of this bug. *** libsolv-0.6.20-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. libsolv-0.6.20-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |