Bug 2568505

Summary: Update from 44 to 45 appears to go well, but os version remains as 44 in GRUB and in repo list
Product: [Fedora] Fedora Reporter: William D. McCoy <wdm8588>
Component: dnf5Assignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 45CC: amatej, jonathan, kevin, pkratoch, ppisar, rpm-software-management
Target Milestone: ---Keywords: Upgrades
Target Release: ---   
Hardware: arm   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-16 11:51:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
journal log of upgrade attempt none

Description William D. McCoy 2026-11-06 20:30:36 UTC
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.

Comment 1 William D. McCoy 2026-11-06 20:37:05 UTC
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.

Comment 2 Kevin Fenzi 2026-11-07 18:11:23 UTC
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)

Comment 3 William D. McCoy 2026-11-10 16:24:56 UTC
Created attachment 2163305 [details]
journal log of upgrade attempt

Note that the upgrade process quits abruptly in the middle of replacing packages.

Comment 4 William D. McCoy 2026-11-10 16:29:54 UTC
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.

Comment 5 Kevin Fenzi 2026-11-13 18:37:00 UTC
Yeah, lets move this to dnf5 maintainers for triage.

Comment 6 William D. McCoy 2026-11-15 16:12:00 UTC
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.

Comment 7 amatej 2026-11-16 11:51:46 UTC

*** This bug has been marked as a duplicate of bug 2242759 ***