Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the command line method for upgrading Fedora 31 to Fedora 32

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

What is the command line method to upgrade Fedora 31 to Fedora 32? I believe many inexperienced people don't know what to do. therefore, this article summarizes the causes and solutions of the problem. I hope you can solve this problem through this article.

The Fedora 32 guide has been released. You may want to upgrade your system to get the latest features in Fedora. Fedora Workstation has a graphical upgrade method. In addition, Fedora provides command-line methods for upgrading Fedora 31 to Fedora 32.

Before upgrading, visit the wiki page of Fedora's 32 common bug to see if there are any problems that may affect the upgrade. Although the Fedora community tries to ensure that the upgrade works properly, there is no guarantee for every combination of hardware and software that users may use.

Upgrade Fedora 31 Workstation to Fedora 32

A notification will appear shortly after the release of the new version, informing you that an upgrade is available. You can click the notification to start the GNOME Software. Alternatively, you can select "Software" from GNOME Shell.

Select the Update Updates tab in "GNOME Software" and you will see a page informing you that Fedora 32 is now available.

If you don't see anything on this page, try using the reload button at the top left. After release, it may take some time for all systems to see available upgrades.

Select download Download to get the upgrade package. You can continue to work until the download is complete. Then use "GNOME Software" to restart the system and apply the upgrade. Upgrading takes time, so you may need a cup of coffee and come back later.

Use the command line

If you are upgrading from a previous version of Fedora, you may be familiar with dnf upgrade plug-ins. This method is recommended and supported for upgrading from Fedora 31 to Fedora 32. Using this plugin will make it easy for you to upgrade to Fedora 32.

1. Update the software and backup the system

Before you start the upgrade process, make sure you have the latest software for Fedora 31. This is especially important if you have the modular software modular software installed. The latest versions of dnf and GNOME Software improve the upgrade process for some modular streams. To update the software, use GNOME Software or enter the following command in the terminal.

Sudo dnf upgrade-refresh

In addition, be sure to back up the system before continuing. For help with backups, see the backup series on Fedora Magazine.

2. Install the DNF plug-in

Next, open the terminal and enter the following command to install the plug-in:

Sudo dnf install dnf-plugin-system-upgrade

3. Start the update using DNF

Now that your system has been updated, backed up, and the DNF plug-in is installed, you can start the upgrade from the terminal using the following command:

Sudo dnf system-upgrade download-releasever=32

This command will start downloading all upgrade packages locally in preparation for the upgrade. If you have problems upgrading because there are no updated packages, broken dependencies, or decommissioned packages, please add the-allowerasing flag when entering the above command. This will allow DNF to remove packages that may hinder system upgrades.

4. Restart and upgrade

When the last command has finished downloading all the upgrade packages, your system can be restarted. To boot the system to the upgrade process, enter the following command in the terminal:

Sudo dnf system-upgrade reboot

After that, the system will restart. Prior to many versions, the fedup tool created a new option on the kernel selection / startup page. With the dnf-plugin-system-upgrade package, your system will restart into the currently installed kernel of Fedora 31; this is normal. After selecting the kernel, your system will immediately begin the upgrade process.

Now may be a good time to take a coffee break! When complete, the system will restart and you will be able to log in to the newly upgraded Fedora 32 system.

Resolve upgrade issu

Sometimes unexpected problems may occur when upgrading the system. If you encounter any problems, please visit the DNF system upgrade documentation for more information about troubleshooting.

If you encounter problems with the upgrade and third-party warehouses are installed on the system, you may need to disable those repositories during the upgrade. For warehouse support that is not provided by Fedora, contact the warehouse provider.

After reading the above, have you mastered the command line method of upgrading Fedora 31 to Fedora 32? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report