9

Upgrade Fedora 31 to Fedora 32 Linux Workstation

 3 years ago
source link: https://computingforgeeks.com/how-to-upgrade-fedora-workstation-server/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Upgrade Fedora 31 to Fedora 32 Linux Workstation
Search

How can I upgrade Fedora 31 to Fedora 32?. Fedora 32 has been released as Beta and is available now for installation on both Desktop and Servers. The question is how can I upgrade Fedora 31 to Fedora 32?. To enjoy the latest features available in Fedora 32 Beta, an upgrade or fresh installation is required.

Most will prefer to do Fedora 31 to Fedora 32 on their Workstation while retaining files and installed applications. It is easy to upgrade from Fedora 31 to Fedora 32 Workstation. First confirm the release of Fedora you’re running.

$ cat /etc/os-release 
NAME=Fedora
VERSION="31.20200316.0 (Workstation Edition)"
ID=fedora
VERSION_ID=31
VERSION_CODENAME=""
PLATFORM_ID="platform:f31"
PRETTY_NAME="Fedora 31.20200316.0 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:31"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f31/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=31
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=31
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
OSTREE_VERSION='31.20200316.0'

The same details can be pulled from Desktop Environment about page.

Upgrade from Fedora 31 to Fedora 32 Workstation

Upgrade of Fedora 31 to Fedora 32 can be performed from the command line or from Desktop graphical interface. I prefer command line upgrade since it is easy to troubleshoot any errors that may arise.

Step 1: Backup System

Backup your important files before doing upgrade – Recommend you do this to an external drive or another system in your Network.

You can check the backup series on the Fedora Magazine.

Step 2: Update System

Let’s make sure we have the latest versions of packages installed.

sudo dnf upgrade --refresh

Reboot after update

sudo reboot

Step 3: Upgrade Fedora 31 to Fedora 32 Workstation

Once is system is up from reboot, install DNF plugin.

sudo dnf install dnf-plugin-system-upgrade

Press y to accept installation.

Last metadata expiration check: 0:40:22 ago on Thu 16 Apr 2020 09:28:55 PM EAT.
Dependencies resolved.
=======================================================================================================================================================
 Package                                               Architecture               Version                            Repository                   Size
=======================================================================================================================================================
Installing:
 python3-dnf-plugin-system-upgrade                     noarch                     4.0.8-4.fc31                       updates                      29 k
Installing dependencies:
 python3-dnf-plugins-extras-common                     noarch                     4.0.8-4.fc31                       updates                      67 k

Transaction Summary
=======================================================================================================================================================
Install  2 Packages

Total download size: 96 k
Installed size: 216 k
Is this ok [y/N]: y

The begin an upgrade of Fedora 31 to Fedora 32 Workstation by running the following command in your terminal.

sudo dnf system-upgrade download --releasever=32

You’ll get a warning that system upgrade should have been done before running the command.

Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y

This command will download all of the upgrades for your machine locally as it prepares for the actual upgrade.

Transaction Summary
=======================================================================================================================================================
Install      38 Packages
Upgrade    1760 Packages
Remove        4 Packages
Downgrade     3 Packages

Total download size: 1.8 G
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]: y
....

NB: If you have broken dependencies or retired packages blocking the upgrade, the use the command.

sudo dnf system-upgrade download --releasever=32 ‐‐allowerasing

Successful downloading will show message like below.

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                           1/1 
Complete!
Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.
To remove cached metadata and transaction use 'dnf system-upgrade clean'
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.

Step 4: Start Upgrade of Fedora 31 to Fedora 32

Once the command is executed successfully, reboot and finish the upgrade of Fedora 31 Workstation to Fedora 32.

sudo dnf system-upgrade reboot

Wait for the upgrade to complete:

Check your Fedora version on the command below.

$ cat /etc/redhat-release
Fedora release 32 (Thirty Two)

$ cat /etc/os-release
NAME=Fedora
VERSION="32 (Workstation Edition)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLATFORM_ID="platform:f32"
PRETTY_NAME="Fedora 32 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Or check from the about page.

Enjoy using Fedora 32 Workstation / Server and check for other guides available in our blog.

How To Install AnyDesk on Fedora

How To Install PostgreSQL 12 on Fedora


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK