This is the stuff that failed in my upgrade from F40 to F41: $ sudo dnf5 upgrade Updating and loading repositories: Repositories loaded. Problem 1: cannot install both ghc-array-0.5.6.0-144.fc41.x86_64 from fedora and ghc-array-0.5.4.0-142.fc40.x86_64 from @System - installed package ghc-foldable1-classes-compat-0.1-4.fc40.x86_64 requires libHSarray-0.5.4.0-ghc9.4.5.so()(64bit), but none of the providers can be installed - cannot install the best update candidate for package ghc-array-0.5.4.0-142.fc40.x86_64 - problem with installed package Problem 2: cannot install both ghc-base-devel-4.18.2.1-144.fc41.x86_64 from fedora and ghc-base-devel-4.17.1.0-142.fc40.x86_64 from @System - installed package ghc-foldable1-classes-compat-devel-0.1-4.fc40.x86_64 requires ghc-devel(base-4.17.1.0), but none of the providers can be installed - installed package ghc-foldable1-classes-compat-devel-0.1-4.fc40.x86_64 requires ghc-devel(ghc-prim-0.9.0), but none of the providers can be installed - cannot install the best update candidate for package ghc-base-devel-4.17.1.0-142.fc40.x86_64 - problem with installed package Problem 3: installed package ghc-base64-0.4.2.4-28.fc40.x86_64 requires libHSbase-4.17.1.0-ghc9.4.5.so()(64bit), but none of the providers can be installed - installed package ghc-base64-0.4.2.4-28.fc40.x86_64 requires libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit), but none of the providers can be installed - cannot install both ghc-base-4.18.2.1-144.fc41.x86_64 from fedora and ghc-base-4.17.1.0-142.fc40.x86_64 from @System - cannot install the best update candidate for package ghc-base64-0.4.2.4-28.fc40.x86_64 - cannot install the best update candidate for package ghc-base-4.17.1.0-142.fc40.x86_64 Problem 4: cannot install both ghc-bytestring-devel-0.11.5.3-144.fc41.x86_64 from fedora and ghc-bytestring-devel-0.11.4.0-142.fc40.x86_64 from @System - installed package ghc-base64-devel-0.4.2.4-28.fc40.x86_64 requires ghc-devel(bytestring-0.11.4.0), but none of the providers can be installed - cannot install the best update candidate for package ghc-bytestring-devel-0.11.4.0-142.fc40.x86_64 - cannot install the best update candidate for package ghc-base64-devel-0.4.2.4-28.fc40.x86_64 Problem 5: cannot install both ghc-isocline-1.0.9-5.fc41.x86_64 from fedora and ghc-isocline-1.0.9-28.fc40.x86_64 from @System - package ghc-hslua-cli-1.4.3-32.fc41.x86_64 from fedora requires libHSisocline-1.0.9-2KCnLAEX6LA5YHxtEpLDUO-ghc9.6.6.so()(64bit), but none of the providers can be installed - cannot install the best update candidate for package ghc-isocline-1.0.9-28.fc40.x86_64 - cannot install the best update candidate for package ghc-hslua-cli-1.4.2-29.fc40.x86_64 Problem 6: cannot install both ghc-isocline-devel-1.0.9-5.fc41.x86_64 from fedora and ghc-isocline-devel-1.0.9-28.fc40.x86_64 from @System - package ghc-hslua-repl-devel-0.1.2-32.fc41.x86_64 from fedora requires ghc-devel(isocline-1.0.9-2KCnLAEX6LA5YHxtEpLDUO), but none of the providers can be installed - cannot install the best update candidate for package ghc-isocline-devel-1.0.9-28.fc40.x86_64 - cannot install the best update candidate for package ghc-hslua-repl-devel-0.1.2-29.fc40.x86_64 Oh, this is because ghc-foldable1-classes-compat-devel is gone in F41. So it sounds like Obsoletes needs to be added.
Thanks for the report - good catch!
FEDORA-2024-20a680325d (ghc-rpm-macros-2.7.2-3.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-20a680325d
Hopefully that fixes it
FEDORA-2024-20a680325d has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-20a680325d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-20a680325d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Thanks. The problem with ghc-foldable1-classes-compat-devel is fixed. I'm still getting a few other problems: Problem 1: installed package ghc-base64-0.4.2.4-28.fc40.x86_64 requires libHSarray-0.5.4.0-ghc9.4.5.so()(64bit), but none of the providers can be installed - cannot install both ghc-array-0.5.6.0-144.fc41.x86_64 from fedora and ghc-array-0.5.4.0-142.fc40.x86_64 from @System - cannot install the best update candidate for package ghc-base64-0.4.2.4-28.fc40.x86_64 - cannot install the best update candidate for package ghc-array-0.5.4.0-142.fc40.x86_64 Problem 2: installed package ghc-base64-devel-0.4.2.4-28.fc40.x86_64 requires ghc-devel(base-4.17.1.0), but none of the providers can be installed - cannot install both ghc-base-devel-4.18.2.1-144.fc41.x86_64 from fedora and ghc-base-devel-4.17.1.0-142.fc40.x86_64 from @System - cannot install the best update candidate for package ghc-base64-devel-0.4.2.4-28.fc40.x86_64 - cannot install the best update candidate for package ghc-base-devel-4.17.1.0-142.fc40.x86_64 Problem 3: cannot install both ghc-isocline-1.0.9-5.fc41.x86_64 from fedora and ghc-isocline-1.0.9-28.fc40.x86_64 from @System - package ghc-hslua-cli-1.4.3-32.fc41.x86_64 from fedora requires libHSisocline-1.0.9-2KCnLAEX6LA5YHxtEpLDUO-ghc9.6.6.so()(64bit), but none of the providers can be installed - cannot install the best update candidate for package ghc-isocline-1.0.9-28.fc40.x86_64 - cannot install the best update candidate for package ghc-hslua-cli-1.4.2-29.fc40.x86_64 Problem 4: cannot install both ghc-isocline-devel-1.0.9-5.fc41.x86_64 from fedora and ghc-isocline-devel-1.0.9-28.fc40.x86_64 from @System - package ghc-hslua-repl-devel-0.1.2-32.fc41.x86_64 from fedora requires ghc-devel(isocline-1.0.9-2KCnLAEX6LA5YHxtEpLDUO), but none of the providers can be installed - cannot install the best update candidate for package ghc-isocline-devel-1.0.9-28.fc40.x86_64 - cannot install the best update candidate for package ghc-hslua-repl-devel-0.1.2-29.fc40.x86_64 I don't understand why it doesn't want to upgrade ghc-base64 to the f41 build.
Oh, maybe it actually does. The next part says: Downgrading: ghc-base64 x86_64 0.4.2.4-6.fc41 fedora 1.2 MiB replacing ghc-base64 x86_64 0.4.2.4-28.fc40 updates-testing 1.5 MiB ghc-base64-devel x86_64 0.4.2.4-6.fc41 fedora 3.8 MiB replacing ghc-base64-devel x86_64 0.4.2.4-28.fc40 updates-testing 4.2 MiB ghc-isocline x86_64 1.0.9-5.fc41 fedora 300.5 KiB replacing ghc-isocline x86_64 1.0.9-28.fc40 updates-testing 312.7 KiB ghc-isocline-devel x86_64 1.0.9-5.fc41 fedora 3.1 MiB replacing ghc-isocline-devel x86_64 1.0.9-28.fc40 updates-testing 9.4 MiB So it's just complaining because the f41 build has a lower release. Having a lower release number is accepted by the packaging guidelines, just a bit confusing.
Right, I noticed one or two of those - I think I messed up some of the %autorelease conversions ;-( Maybe it is better to fix them too
Also icbw but I am feeling like these errors from dnf5 might be more noisy than they were with dnf4?
... which actually makes it pretty hard to extract the actual real problems, at least for me.
or dnf5 gets more confused by them perhaps? (sorry for multiple replies)
I tried now with just ghc-base64-devel using both f40 dnf4 and dnf5 and they both seem to do nothing ie ignore possible downgrade for me. [root@a4bb8ccba2b5 /]# dnf -q update --releasever=41 ghc-base64-devel [root@a4bb8ccba2b5 /]# dnf5 -q update --releasever=41 ghc-base64-devel Nothing to do. Let me bump both those packages, as well as these: $ pkgtreediff -u "frpq 40 --qf '%{name}-%{version}-%{release}.%{arch}' ghc-*-devel" "frpq 41 --qf '%{name}-%{version}-%{release}.%{arch}' ghc-*-devel" 'ghc-base64-devel.x86_64': 0.4.2.4-28.fc40 -> 0.4.2.4-6.fc41 'ghc-cached-json-file-devel.x86_64': 0.1.1-16.fc40 -> 0.1.1-8.fc41 'ghc-isocline-devel.x86_64': 1.0.9-28.fc40 -> 1.0.9-5.fc41 'ghc-js-chart-devel.x86_64': 2.9.4.1-18.fc40 -> 2.9.4.1-7.fc41 'ghc-toml-parser-devel.x86_64': 1.3.2.0-29.fc40 -> 1.3.2.0-6.fc41
FEDORA-2024-20a680325d (ghc-rpm-macros-2.7.2-3.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-974edc792e for the release bumps