Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2022-04-06 06:36:01
Size: 370
Comment:
Revision 11 as of 2025-12-19 21:26:35
Size: 2124
Comment: Link
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

'''Fedora''' is a Linux-based operating system.

'''RHEL''', '''CentOS''' (RIP), '''Rocky Linux''', and '''Alma Linux''' are downstream. '''CentOS Stream''' is upstream.
Line 15: Line 19:
=== 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.

 1. Update all software and reboot
 2. 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.

 3.#3 Validate the GPG fingerprint that is printed to the screen
 4. 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 [[https://bugzilla.redhat.com/show_bug.cgi?id=2242759#c41|wontfix bug]] and the best solution is to `sudo touch /usr/lib/clock-epoch`.

 5.#5 Clean up after a successful boot

{{{
sudo dnf system-upgrade clean
sudo dnf clean packages
}}}

 6.#6 If it was not done in step 2, erase unsupported software

{{{
sudo dnf install remove-retired-packages
remove-retired-packages
sudo dnf repoquery --unsatisfied
}}}

----



== Administration ==

 * [[Linux/Fedora/Dnf|dnf(8)]]
 * [[NetworkManager|NetworkManager(8)]]
 * [[Linux/SELinux|SELinux]]
 * [[Linux/Systemd|systemd(1)]]


Fedora

Fedora is a Linux-based operating system.

RHEL, CentOS (RIP), Rocky Linux, and Alma Linux are downstream. CentOS Stream is upstream.


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.

  1. Update all software and reboot
  2. 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.

  1. Validate the GPG fingerprint that is printed to the screen
  2. 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.

  1. Clean up after a successful boot

sudo dnf system-upgrade clean
sudo dnf clean packages
  1. If it was not done in step 2, erase unsupported software

sudo dnf install remove-retired-packages
remove-retired-packages
sudo dnf repoquery --unsatisfied


Administration


CategoryRicottone

Linux/Fedora (last edited 2025-12-19 21:26:35 by DominicRicottone)