Bug 1804564
Summary: | Cannot upgrade to Fedora 32: Modules blocking the upgrade path | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jaroslav Mracek <jmracek> |
Component: | PackageKit | Assignee: | Richard Hughes <rhughes> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 32 | CC: | awilliam, bcotton, bugzilla, dmach, extras-qa, igor.raits, jkadlcik, jmracek, jonathan, kevin, klember, kparal, mailinglists35, mblaha, mhroncok, mihai, msuchy, pkratoch, rdieter, rhughes, robatino, rpm-software-management, sgallagh, Simon.Gerhards, smparrish, ssorce, vmukhame, vondruch, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedPreviousReleaseBlocker | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1767351 | Environment: | |
Last Closed: | 2021-05-25 18:01:50 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: | |||
Bug Depends On: | 1767351 | ||
Bug Blocks: | 1705303 |
Description
Jaroslav Mracek
2020-02-19 07:47:39 UTC
The original hack for F31 is not sufficient and the new hack will probably require and additional API in libdnf. There are multiple approaches how to resolve the issue: 1. Extend dnf_context_reset_modules to accept globs. It will allow to reset all modules using '*' as a argument 2. Provide a new function that will reset all modules `dnf_context_reset_all_modules` 3. Provide a method to return all available/enabled modules names and then use of dnf_context_reset_modules to reset them. Please what do you prefer? 2) seems clean to me I guess. Yell when there's a f32 rpm in the buildroot with that API and I can fix up PK to use that. I created PR with requested API (https://github.com/rpm-software-management/libdnf/pull/906). Please could you confirm that it works as you expected? It also requires https://github.com/rpm-software-management/libdnf/pull/910 Is there a srpm available? TIA. Builds should be available in rh-atomic-bot. See and follow https://github.com/rpm-software-management/libdnf/pull/906. To create rpm/srpm by your self please just download libdnf project git clone https://github.com/rpm-software-management/libdnf.git cd libdnf git fetch origin pull/906/head:test git checkout test tito build --test --srpm #srpm or dnf builddep libdnf.spec tito build --test --rpm #rpm In case that you need an assistance with creation of patch for downstream, don't hesitate to ask and I can provide a detail description how to do it. Happy to help. I believe this should actually be an AcceptedPreviousRelease blocker, same as the DNF one - it's the same situation, AIUI, we need to fix this in Fedora 30 and 31 for upgrades to Fedora 32. Any update? we're running short on time, so sgallagh kindly volunteered to write the fixes, and I've tested them - they seem to be working. I'm now doing builds and submitting updates (sgallagh went for a rest). FEDORA-2020-659dc97781 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-659dc97781 FEDORA-2020-02ee4b1a1c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-02ee4b1a1c FEDORA-2020-02ee4b1a1c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-02ee4b1a1c OK, this should now be addressed for F30 and F31. I edited the new libdnf and PackageKit into the existing libdnf / dnf-plugins-extras update for F30, for F31 that update has gone stable so I created a new one. It'd be great if other folks can test and confirm the fix. I have found an issue with the new libdnf and PackageKit updates, see bug 1813237. *** Bug 1813237 has been marked as a duplicate of this bug. *** We're following up on 1813237 here; long story short the initial fix sgallagh wrote also reset all modules on *non-upgrade* transactions, which we don't want. He is sending out updated fixes which don't do that. PackageKit-1.1.12-14.fc31, libdnf-0.43.1-5.fc31 has been pushed to the Fedora 31 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-2020-659dc97781 PackageKit-1.1.12-14.fc31, libdnf-0.43.1-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '32'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |