Dnf5 system upgrade to F41 fails

I’ve opened a bug: here.

Basically, when doing offline upgrade, system reboots without doing the upgrade.

Message embedded in log is:

Warning: the _executecommand is for internal use only and is not intended to be run directly by the user. To initiate the system upgrade/offline transaction, you should rundnf5 offline reboot.

Failed to resolve transaction. This indicates some bigger problem, since the offline transaction was already successfully resolved before. Was the cache at "/usr/lib/sysimage/libdnf5/offline" modified?
Failed to resolve the transaction:
Problem 1: cannot install both python3-arrow-1.2.3-9.fc41.noarch from @stored_transaction and python3-arrow-1.2.3-7.fc40.noarch from @System
- installed package python3-fedmsg-1.1.7-6.fc40.noarch requires python3.12dist(arrow), but none of the providers can be installed
- conflicting requests
- problem with installed package
Problem 2: cannot install both python3-attrs-24.2.0-1.fc41.noarch from @stored_transaction and python3-attrs-23.2.0-4.fc40.noarch from @System
- installed package fedmod-0.6.6-5.fc40.noarch requires python3.12dist(attrs), but none of the providers can be installed
- conflicting requests
- problem with installed package
Problem 3: cannot install both python3-celery-5.3.6-5.fc41.noarch from @stored_transaction and python3-celery-5.3.6-3.fc40.noarch from @System
- installed package module-build-service-3.9.2-9.fc40.noarch requires python3.12dist(celery), but none of the providers can be installed
- conflicting requests
- problem with installed package
Problem 4: cannot install both python3-requests-2.32.3-3.fc41.noarch from @stored_transaction and python3-requests-2.31.0-3.fc40.noarch from @System
- installed package python3-twitter-3.5-18.fc39.noarch requires python3.12dist(requests), but none of the providers can be installed
- conflicting requests
- problem with installed package
Problem 5: cannot install both python3-3.13.0-1.fc41.x86_64 from @stored_transaction and python3-3.12.7-1.fc40.x86_64 from @System
- installed package python3-future-0.18.3-10.fc40.noarch requires python(abi) = 3.12, but none of the providers can be installed
- conflicting requests
- problem with installed package
Problem 6: installed package python3-3.12.7-1.fc40.x86_64 conflicts with python3 < 3.13.0-1.fc41 provided by python3-devel-3.13.0-1.fc41.x86_64 from @stored_transaction
- installed package python3-smartcols-0.3.0-20.fc39.x86_64 requires python(abi) = 3.12, but none of the providers can be installed
- conflicting requests
- problem with installed package
dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
dnf5-offline-transaction.service: Failed with result 'exit-code'.

I plan to use dnf (aka dnf-3)to do the upgrade from f40 to f41 as dnf5 is experimental in f40.

1 Like

Yeah, that’s probably a good idea. I’ll wait a few days and see if they can fix it.

Why do you need to wait for dnf5 fix? dnf-3 is fully tested and works now.

Of course when we get to f41 to f42 then dnf5 will be the default and fully tested upgrade path.

Update with vanilla dnf from f40 worked here without any problem.

I used dnf (aka dnf3) to upgrade from 40 to 41 and it worked perfectly. I did NOT try to use dnf5 for that upgrade.

Just to assist in trouble shooting in case additional information is needed. I’m in no rush for F41. All the apps I use are at the same version for F40/F41.

Raise a bugzilla against dnf5 on f40 and see how the developers respond.

2 Likes

I did. See the bug report above. They fixed it. Works fine with the latest updates.

1 Like