Hello @chakka ,
Did you first make sure your F37 was fully up to date? You can do this with sudo dnf distro-sync. After it completes you should be able to do the upgrade.
I have a ThinkPad E530 Edge that I had an issue upgrading some time back. What was happening there was the whole upgrade would finish then fail to actually write the EFI entry due to the flash area being full. I had to delete files in my efivars that had $DUMP in their filename to free up space in my BIOS flash area. I assumed they were related to Lenovo diagnostics and of no consequence. Anyway after doing that and repeating the upgrade process I was able to boot into an upgraded system. I am not saying you’re facing the same issue but it may be worth checking your efivars to see. You can find out by using ls ls /sys/firmware/efi/efivars/.
[Edit] I took a number of days searching both in Fedora community and elsewhere, and I found the answer on stack exchange and it was specifically for Unbuntu, but using a Lenovo ThinkPad.
Hello @chakka ,
If you don’t mind, could you post the terminal text itself between with the “</>” button? It makes it very much easier to read.
[Edit] Also, can you let me know how comfortable you are with doing command line activities with your PC? And please understand that I am not recommending you have the same issue I had, but this is an avenue of investigation you can pursue. I had to find out about how Lenovo handled my laptops flash (it’s over two chips in my case), and I had to first verify that my flash area was running out of space. Perhaps @mpearson has some thoughts.
Fedora 39 updates to python 3.12. dnf is written in python, and that error shows that the python on your path is not the python that dnf needs. Check that you don’t have an old python on your path and that you don’t have any active python virtual environments. Also, it might help to run dnf as root. On my Fedora 39 laptop, rpm -q shows that I have python3-3.12.1-2.fc39.x86_64 and dnf-4.18.2-1.fc39.noarch . If you still have the fc37 versions of either one, something might have gone wrong when you did the update. I did the same update as you from 37 to 39 (skipping 38) without any problems.
If you have critical F37 packages they certainly may interfere with functionality.
Please try sudo dnf distro-sync --refresh and see if it does anything about bringing the appropriate packages up to date with the current fedora release.
I have a system that has been repeatedly upgraded from about F32 and this is the total list of packages that are not at the fc39 versions.
Sorry, I missed that.
It is possible to fix by downloading the appropriate rpms but I do not know the details. Someone may be able to guide you as to which packages to reinstall.