Hi, I have installed Fedora Server 35 on a RPi2 and want to upgrade it, but it fails to do.
Made all the steps, updating the current system, the dnf-plugin-system-upgrade is installe, but when executing the command (2 versions):
$ sudo dnf system-upgrade download --releasever=37
I get error 404, then try with version 36:
$ sudo dnf system-upgrade download --releasever=36
It works but after getting repo metadata it closes session by its own and does nothing.
Tried disabling RPM Fusion repos and with --allowerasing, with no success.
If I try to run:
$ sudo dnf system-upgrade reboot
I get that my system is not ready for upgrade.
According to Architectures/ARM/Raspberry Pi - Fedora Project Wiki only rpi3 and rpi4 are supported.
Most likely reason is that dnf ran out of memory and was killed by the OOM killer.
You should be able to checks journal to see if this is the case.
If you decide to upgrade you rpi 2 beware that rpi 5 is not supported yet.
Getting an rpi4 would be the best option today.
Could be that. A clean install works but for a system upgrade seems to be no enough resources.
But previously I upgraded from 34 to 35 with success. It is true that version 35 seems more buggy as LEDs stopped working after the upgrade from 34 to 35.
armv7hl support was dropped for the f37 release.
I archived the rpmfusion f36 repo’s to save space, see
Index of /pub/Mirrors/archive.rpmfusion.org/free-archive/fedora/releases
Note that f35 (all spins) has been EOL for quite some time and there are no further updates available since it went EOL in December 2022
OK so the latest available for RPi2 is 36. Tried also disabling rpmfusion repos (–disablerepo=rpmfusion*) with the --allowerasing so it could even back to a clean installation but the same crash.
Did you look in the logs as I suggested? Why was DNF killed?
jun 04 15:46:31 fedora systemd-oomd[667]: Killed /user.slice/user-1000.slice/session-3.scope due to memory used (994213888) / t>
jun 04 15:46:31 fedora systemd-oomd[667]: Killed /user.slice/user-1000.slice/session-3.scope due to memory used (989999104) / t>
jun 04 15:46:31 fedora systemd[1]: session-3.scope: systemd-oomd killed 6 process(es) in this unit.
jun 04 15:46:32 fedora systemd-logind[719]: Session 3 logged out. Waiting for processes to exit.
jun 04 15:46:32 fedora systemd-oomd[667]: Killed /user.slice/user-1000.slice/session-3.scope due to memory used (938934272) / t>
jun 04 15:46:34 fedora systemd[1]: session-3.scope: systemd-oomd killed 7 process(es) in this unit.
jun 04 15:46:34 fedora systemd[1]: session-3.scope: Deactivated successfully.
jun 04 15:46:34 fedora systemd[1]: session-3.scope: Consumed 1min 1.782s CPU time.
jun 04 15:46:34 fedora systemd-logind[719]: Removed session 3.
Memory out. How can it use so much?, the upgrade from 34 to 35 worked.
Min memory is 2GiB for Fedora, you have only 1GiB.
Dnf5 will have a lower memory foot print, by design.
But thats for f41 that will never run on the rpi2 because of no 32bit build.
All I can suggest is you upgrade to an rpi4 to allow latest software to be used. Otherwise you are stuck on the version you have.
Fedora Server uses less, about 300MB. And as mentioned 34->35 worked. As already mentioned also the 35 seems to be more buggy. So in any case I will continue using this version until need a reinstall then would install the 36 directly (latest supported).
Thanks everyone for comments.