Fedora Account System
Red Hat Associate
Red Hat Customer
I have tried to upgrade my ARM computer (Raspberry Pi 4) from a working Fedora 44 Workstation to Fedora 45 Workstation. I first brought Fedora 44 up to date, rebooted and then did a system-upgrade with dnf5 to release version 45. All apperaed to go well, but after finishing the upgrade and rebooting the system still reported Fedora 45 in uname, in /etc/os-release and in the repo list. I retried the whole system-upgrade process with the same result. The new upgrade boots and appears to work without any issues, but the system appears to be incorrectly labeled. I apparently will not be able to updates packages from the Fedora 45 repositories. Reproducible: Always Steps to Reproduce: 1.Bring Fedora 44 ARM system up to date using dnf5. 2.Use dnf5 for system upgrade to Fedora Workstation 45 3.Reboot Actual Results: The system shows itself as Fedora 44 when listed in uname command or in the /etc/os-release file. Also the repos used by dnf5 are those for Fedora 44. Expected Results: The system should recognize that it is Fedora Workstation 45.
I want to emphasize that this has occurred only on my ARM system. The upgrades to Fedora Workstation 45 on my x86_64 systems works well and do not have this issue.
I don't know that folks who are watching this component have time to debug this fully. You may have better / faster luck asking on discussion.fedoraproject.org or the fedora arm mailing list. That said, what does: rpm -qa | grep -E "fedora-release|fedora-repos" output? After an upgrade attempt what does: journalctl -b -1 output (that would be the journal of the previous boot where it did (or didn't) do the upgrade)
Created attachment 2163305 [details] journal log of upgrade attempt Note that the upgrade process quits abruptly in the middle of replacing packages.
So it's clear that the upgrade never completed. After the abrupt termination of the upgrade, the system rebooted automatically and, of course, the old Fedora 44 was booted. So I don't know what happened to cause the abrupt termination of the upgrade, but there are several errors listed in the attached journal log that occurred prior to the commencement of package replacement.
Yeah, lets move this to dnf5 maintainers for triage.
I think I have discovered the cause of this problem and it is a known issue. Today I noticed at the end of the Fedora Quick Docs Upgrade page (https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/), there is an FAQ about the lack of a Real-Time Clock in the Raspberry Pi which "causes the upgrade to fail after sudo dnf offline reboot is run". This appears to be what has happened in my case. I had wondered why every time I tried the upgrade, the journal log would always start at the same time and date and that date was weeks before the time of the upgrade attempt. I had noticed that 'journalctl --user' would give the correct time and date, but the boot logs always showed the older date. So I believe that was the cause of my problem. I cannot test the solution given in the Quick Docs Upgrade FAQ because I have since done a basic install, rather than an upgrade, of a new OS on the same microSD card. However, I suggest that, if the maintainers agree, this bug should be closed. I am sorry to have troubled everyone as I should have noticed this FAQ earlier.
*** This bug has been marked as a duplicate of bug 2242759 ***