Discover has informed me that I am able to upgrade to Fedora 41 from 40:
Instead, I want to do this via my shell, since I want to log the output, and don’t want to perform such a massive update via PackageKit, since it makes scary decisions:
I think you need to supply --releasever=41. I’m not sure with the offline upgrade though. If you want to do it interactively and log the results, you might need to boot to multi-user mode, sign in as root on a VT, and run something like dnf upgrade --releasever=41 |& tee my-dnf.log.
Should I also add the F41 RPMfusion repository at the same time?
Error:
Problem 1: package ffmpeg-libs-debuginfo-6.1.2-2.fc40.x86_64 from @System requires ffmpeg-debuginfo(x86-64) = 6.1.2-2.fc40, but none of the providers can be installed
- ffmpeg-debuginfo-6.1.2-2.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package ffmpeg-libs-debuginfo-6.1.2-2.fc40.x86_64
Problem 2: package obs-cef-5060^cr103.0.5060.134~git20231010.17f8588-6.fc40.x86_64 from @System requires libavcodec.so.60()(64bit), but none of the providers can be installed
- package obs-cef-5060^cr103.0.5060.134~git20231010.17f8588-6.fc40.x86_64 from @System requires libavcodec.so.60(LIBAVCODEC_60)(64bit), but none of the providers can be installed
- package obs-cef-5060^cr103.0.5060.134~git20231010.17f8588-6.fc40.x86_64 from @System requires libavutil.so.58()(64bit), but none of the providers can be installed
- package obs-cef-5060^cr103.0.5060.134~git20231010.17f8588-6.fc40.x86_64 from @System requires libavutil.so.58(LIBAVUTIL_58)(64bit), but none of the providers can be installed
- package obs-cef-5060^cr103.0.5060.134~git20231010.17f8588-6.fc40.x86_64 from @System requires libavformat.so.60()(64bit), but none of the providers can be installed
- package obs-cef-5060^cr103.0.5060.134~git20231010.17f8588-6.fc40.x86_64 from @System requires libavformat.so.60(LIBAVFORMAT_60)(64bit), but none of the providers can be installed
- ffmpeg-libs-6.1.2-2.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package obs-cef-5060^cr103.0.5060.134~git20231010.17f8588-6.fc40.x86_64
The repos get upgraded as part of the regular upgrade. In fact, since the repo files mostly use macros to identify the architecture and release there is seldom a change required in those files.
When I upgraded my laptop I was not required to upgrade the repo files themselves. (and never have needed to do so as a separate action)
If you already have the rpmfusion-free and rpmfusion-nonfree repos enabled (check with ‘dnf repolist’) then there is no need to attempt the install as you are doing.
If fedora was already at version 41 you probably would not be getting those errors.
Did you do the recommended dnf upgrade --refresh or dnf distro-sync --refresh prior to trying the dnf system-upgrade download --releasever=41 step?
I would recommend that you remove the ‘obs-cef’ package which is not a fedora package. Also remove the ‘ffmpeg-libs-debuginfo’ . It is not necessary unless you are actively performing development and need to do debugging.
Both those packages can be reinstalled after the upgrade if they are truly necessary.