Fedora
Fedora is a Linux-based operating system.
RHEL, CentOS (RIP), Rocky Linux, and Alma Linux are downstream. CentOS Stream is upstream.
Contents
Installation
TODO: Add instructions from https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi#Preparing_the_SD_card and https://raspberrypi.stackexchange.com/questions/133150/how-to-expand-the-volume-of-fedora-35-server to setup the SD card and expand the 3rd partition.
Upgrading
A new major version of Fedora happens is released six months, approximately in April and October. Major version releases are supported for 13 months.
A host running Fedora can be upgraded in steps of 1 or 2 major version releases.
- Update all software and reboot
- Download the new release
sudo dnf install dnf-plugin-system-upgrade sudo dnf system-upgrade download --releasever=40
The download may be blocked if support for some software was dropped. The --allowerasing option can be passed to force the download anyway.
- Validate the GPG fingerprint that is printed to the screen
- Trigger the upgrade and reboot sequence
sudo dnf system-upgrade reboot
If system won't boot, try to rescue boot and check the system journal.
If system boots into a non-updated release, are you running on a Raspberry Pi or some other platform that may not have a perfectly functional system clock? There's a wontfix bug and the best solution is to sudo touch /usr/lib/clock-epoch.
- Clean up after a successful boot
sudo dnf system-upgrade clean sudo dnf clean packages
- If it was not done in step 2, erase unsupported software
sudo dnf install remove-retired-packages remove-retired-packages sudo dnf repoquery --unsatisfied