Home Linux DistributionsHow to upgrade to Fedora 23 from Fedora 22

How to upgrade to Fedora 23 from Fedora 22

By sk
Published: Updated: 3 views

Fedora 23 was released a few weeks ago and while new users can simply download and install Fedora, those running Fedora 22 may want to upgrade their systems. The Fedora team made the upgrade task into pretty easy and straight forward. However, we do need to prepare our servers or machines for a smooth upgrade. This tutorial describes how to upgrade to Fedora 23 from Fedora 22.

I strongly recommend you to backup your important data and configuration files to any external hdd or USB drives to avoid data loss. Also, make sure you have uninterrupted power supply and fast Internet connection.

For your information, the upgrade task is same for Fedora desktop and Server, and you can also upgrade your remote Fedora VPS using this method.

Log in to your Fedora server.

$ ssh sk@192.168.1.102

Here, sk is my remote system's username and 192.168.1.102 is my remote system's IP address.

Update your Fedora 22 system:

$ sudo dnf update
$ sudo dnf upgrade

After updating the Fedora system, reboot once to apply all changes.

Now, it's time to start the upgrade process.

Upgrade to Fedora 23 from Fedora 22

Please be mindful that during upgrading your system may crash or disconnect from the SSH session. In such cases, you probably disconnected from the SSH session, and it results to broken system or failed upgrade process. To avoid this problem, we're going to use "screen" tool that can be used to reconnect to the your Fedora system in-case it is disconnected while upgrading.

Install screen tool using the following command:

$ sudo dnf install screen

Switch to the screen session with command:

$ screen

In case you’re disconnected from your Fedora system, you can again re-connect to it with the following command:

$ screen -Dr

Install DNF plugin:

$ sudo dnf install dnf-plugin-system-upgrade

Finally, start upgrade Fedora 23 using the following command:

$ sudo dnf system-upgrade download --releasever=23

The latest packages will start to download in your system. Grab a cup of coffee. It will take a while depending upon your Internet connection speed.

Note:

  • If some of your packages have unsatisfied dependencies, the upgrade will refuse to continue until you run it again with an extra –allowerasing option. This often happens with packages installed from third-party repositories for which an updated repositories hasn’t been yet published. Please study very careful the output and examine which packages are going to be removed. None of them should be essential for system functionality, but some of them might be important for your productivity.
  • In case of unsatisfied dependencies, you can see more details if you add –best option to the command line.

Once all required packages is downloaded, reboot your Fedora to start the upgrade.

$ sudo dnf system-upgrade reboot

The actual upgrade process will start now.

After completing the upgrade process, the system will automatically reboot. Select Fedora 23 from the boot menu.

That's it. Your system has been successfully upgraded to Fedora 23.

Login to your newly upgraded Fedora system.

To know the Fedora version details, run:

$ cat /etc/*-release

Sample output:

Fedora release 23 (Twenty Three)
NAME=Fedora
VERSION="23 (Twenty Three)"
ID=fedora
VERSION_ID=23
PRETTY_NAME="Fedora 23 (Twenty Three)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:23"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=23
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=23
PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
Fedora release 23 (Twenty Three)
Fedora release 23 (Twenty Three)

Start using your new Fedora system!!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More