Differences between revisions 8 and 9
Revision 8 as of 2023-05-31 15:00:57
Size: 2108
Comment:
Revision 9 as of 2024-10-23 04:16:54
Size: 2382
Comment: Rewrite
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
 2. If not already available locally, install a release upgrade plugin for `dnf(8)`  2. Download the new release
Line 32: Line 32:
sudo dnf system-upgrade download --releasever=40
Line 34: Line 35:
 3.#3 Download the new release
 3.3
The download may be blocked if support for some software was dropped. The `--allowerasing` option can be passed to force the download anyway.
The download may be blocked if support for some software was dropped. The `--allowerasing` option can be passed to force the download anyway.
Line 37: Line 37:
{{{
sudo
dnf system-upgrade download --releasever=38
}}}

 4
.#4 Validate the GPG fingerprint that is printed to the screen
 5. Trigger the upgrade and reboot sequence
 3.#3 Validate the GPG fingerprint that is printed to the screen
 4. Trigger the upgrade and reboot sequence
Line 48: Line 44:
 6.#6 Clean up after a successful boot 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
Line 55: Line 55:
 7.#7 If it was not done in step 3, erase unsupported software  6.#6 If it was not done in step 2, erase unsupported software

Fedora

Fedora is a Linux-based operating system.

Fedora is heavily supported by Red Hat, which maintains the downstream operating systems RHEL and CentOS Stream.

CentOS was a downstream operating system up to version 8, when Red Hat killed the project in favor of CentOS Stream. The new downstream operating systems Rocky Linux and Alma Linux were created in response.


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 2024-10-23 04:16:54 by DominicRicottone)