Upgrading my systems from 41 to 42.
Three laptops and media server went smoothly.
So, decided to upgrade my desktop (main) machine:
# dnf upgrade --refresh
Success
# reboot
Success
# dnf install dnf-plugin-system-upgrade
Repositories loaded.
Package "dnf-plugins-core-4.10.1-1.fc41.noarch" is already installed.
Success
# dnf system-upgrade download --releasever=42
.... use "dnf5 offline reboot" ...
Just like other machines, seems to be Success.
# dnf5 offline reboot
...time passes ... stops at 31% completed ..
Waited 2 1/2 hours,
did reboot by hardware button
got me back to 41:
uname -a
Linux olympia 6.13.11-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 10 19:02:09 UTC 2025 x86_64 GNU/Linux
When I do a:
# dnf list --installed | grep kernel
abrt-addon-kerneloops.x86_64 2.17.6-3.fc41 updates
kernel.x86_64 6.11.4-301.fc41 anaconda
kernel.x86_64 6.11.11-300.fc41 updates
kernel.x86_64 6.13.11-200.fc41 updates
kernel-core.x86_64 6.11.4-301.fc41 anaconda
kernel-core.x86_64 6.11.11-300.fc41 updates
kernel-core.x86_64 6.13.11-200.fc41 updates
kernel-core.x86_64 6.14.2-300.fc42 <unknown>
kernel-headers.x86_64 6.13.3-200.fc41 updates
kernel-headers.x86_64 6.14.0-63.fc42 <unknown>
kernel-modules.x86_64 6.11.4-301.fc41 anaconda
kernel-modules.x86_64 6.11.11-300.fc41 updates
kernel-modules.x86_64 6.13.11-200.fc41 updates
kernel-modules.x86_64 6.14.2-300.fc42 <unknown>
kernel-modules-core.x86_64 6.11.4-301.fc41 anaconda
kernel-modules-core.x86_64 6.11.11-300.fc41 updates
kernel-modules-core.x86_64 6.13.11-200.fc41 updates
kernel-modules-core.x86_64 6.14.2-300.fc42 <unknown>
kernel-modules-extra.x86_64 6.11.4-301.fc41 anaconda
kernel-modules-extra.x86_64 6.11.11-300.fc41 updates
kernel-modules-extra.x86_64 6.13.11-200.fc41 updates
libreport-plugin-kerneloops.x86_64 2.17.15-3.fc41 anaconda
The last couple of lines in /var/log/dnf5.log:
2025-04-20T17:03:15+0000 [745] INFO RPM callback install stop "python3-brotli-0:1.1.0-6.fc42.x86_64" amount 858484 total 858484
2025-04-20T17:03:15+0000 [745] INFO RPM callback close file
2025-04-20T17:03:15+0000 [745] INFO RPM callback open file "/usr/lib/sysimage/libdnf5/offline/./packages/python3-certifi-2024.08.30-2.fc42.noarch.rpm"
2025-04-20T17:03:15+0000 [745] INFO RPM callback install start "python3-certifi-0:2024.08.30-2.fc42.noarch" total 10604
2025-04-20T17:03:15+0000 [745] INFO RPM callback install stop "python3-certifi-0:2024.08.30-2.fc42.noarch" amount 10604 total 10604
2025-04-20T17:03:15+0000 [745] INFO RPM callback close file
2025-04-20T17:03:15+0000 [745] INFO RPM callback open file "/usr/lib/sysimage/libdnf5/offline/./packages/python3-chardet-5.2.0-16.fc42.noarch.rpm"
2025-04-20T17:03:15+0000 [745] INFO RPM callback install start "python3-chardet-0:5.2.0-16.fc42.noarch" total 2194948
2025-04-20T17:03:15+0000 [745] INFO RPM callback install stop "python3-chardet-0:5.2.0-16.fc42.noarch" amount 2194948 total 2194948
2025-04-20T17:03:16+0000 [745] INFO RPM callback start trigger-install scriptlet "filesystem-0:3.18-36.fc42.x86_64"
2025-04-20T17:03:16+0000 [745] INFO RPM callback stop trigger-install scriptlet "filesystem-0:3.18-36.fc42.x86_64" return code 0
2025-04-20T17:03:17+0000 [745] INFO RPM callback close file
2025-04-20T17:03:17+0000 [745] INFO RPM callback open file "/usr/lib/sysimage/libdnf5/offline/./packages/python3-click-8.1.7-7.fc42.noarch.rpm"
No error messages.
I have not tried to upgrade from 41 to 42 again.
If possible I'd like to know what went wrong first.
From recent experience, it is a real pain to reinstall on this OLD system (if you have to replace the boot disk,
had to install DVD mint 2.0 on new disk in order to get /boot/efi/EFI/BOOT directory, then install DVD Xfce 4.1),
so, why would the upgrade hang?
Thanks
Also, now when I change to root I get:
# su
Password:
/etc/selinux/targeted/contexts/files/file_contexts.bin: Old compiled fcontext format, skipping
/etc/selinux/targeted/contexts/files/file_contexts.homedirs.bin: Old compiled fcontext format, skipping
/etc/selinux/targeted/contexts/files/file_contexts.local.bin: Old compiled fcontext format, skipping
Rich