10-30-2019, 08:38 PM
Upgrading Fedora 30 to Fedora 31
<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2019/10/upgrading-fedora-30-to-fedora-31.png" width="1024" height="768" title="" alt="" /></div><div><p>Fedora 31 <a href="https://fedoramagazine.org/announcing-fedora-31/">is available now</a>. You’ll likely want to upgrade your system to get the latest features available in Fedora. Fedora Workstation has a graphical upgrade method. Alternatively, Fedora offers a command-line method for upgrading Fedora 30 to Fedora 31.</p>
<p> <span id="more-29566"></span> </p>
<h2>Upgrading Fedora 30 Workstation to Fedora 31</h2>
<p>Soon after release time, a notification appears to tell you an upgrade is available. You can click the notification to launch the <strong>GNOME Software</strong> app. Or you can choose Software from GNOME Shell.</p>
<p>Choose the <em>Updates</em> tab in GNOME Software and you should see a screen informing you that Fedora 31 is Now Available.</p>
<p>If you don’t see anything on this screen, try using the reload button at the top left. It may take some time after release for all systems to be able to see an upgrade available.</p>
<p>Choose <em>Download</em> to fetch the upgrade packages. You can continue working until you reach a stopping point, and the download is complete. Then use GNOME Software to restart your system and apply the upgrade. Upgrading takes time, so you may want to grab a coffee and come back to the system later.</p>
<h2>Using the command line</h2>
<p>If you’ve upgraded from past Fedora releases, you are likely familiar with the <em>dnf upgrade</em> plugin. This method is the recommended and supported way to upgrade from Fedora 30 to Fedora 31. Using this plugin will make your upgrade to Fedora 31 simple and easy.</p>
<h3>1. Update software and back up your system</h3>
<p>Before you do start the upgrade process, make sure you have the latest software for Fedora 30. This is particularly important if you have modular software installed; the latest versions of dnf and GNOME Software include improvements to the upgrade process for some modular streams. To update your software, use <em>GNOME Software</em> or enter the following command in a terminal.</p>
<pre class="wp-block-preformatted">sudo dnf upgrade --refresh</pre>
<p>Additionally, make sure you back up your system before proceeding. For help with taking a backup, see <a href="https://fedoramagazine.org/taking-smart-backups-duplicity/">the backup series</a> on the Fedora Magazine.</p>
<h3>2. Install the DNF plugin</h3>
<p>Next, open a terminal and type the following command to install the plugin:</p>
<pre class="wp-block-preformatted">sudo dnf install dnf-plugin-system-upgrade</pre>
<h3>3. Start the update with DNF</h3>
<p>Now that your system is up-to-date, backed up, and you have the DNF plugin installed, you can begin the upgrade by using the following command in a terminal:</p>
<pre class="wp-block-preformatted">sudo dnf system-upgrade download --releasever=31</pre>
<p>This command will begin downloading all of the upgrades for your machine locally to prepare for the upgrade. If you have issues when upgrading because of packages without updates, broken dependencies, or retired packages, add the <em>‐‐allowerasing</em> flag when typing the above command. This will allow DNF to remove packages that may be blocking your system upgrade.</p>
<h3>4. Reboot and upgrade</h3>
<p>Once the previous command finishes downloading all of the upgrades, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal:</p>
<pre class="wp-block-preformatted">sudo dnf system-upgrade reboot</pre>
<p>Your system will restart after this. Many releases ago, the <em>fedup</em> tool would create a new option on the kernel selection / boot screen. With the <em>dnf-plugin-system-upgrade</em> package, your system reboots into the current kernel installed for Fedora 30; this is normal. Shortly after the kernel selection screen, your system begins the upgrade process.</p>
<p>Now might be a good time for a coffee break! Once it finishes, your system will restart and you’ll be able to log in to your newly upgraded Fedora 31 system.</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://www.sickgaming.net/blog/wp-content/uploads/2019/10/upgrading-fedora-30-to-fedora-31-1.png"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2019/10/upgrading-fedora-30-to-fedora-31.png" alt="Upgrading Fedora: Upgrade complete!" class="wp-image-13493" /></a></figure>
</div>
<h2>Resolving upgrade problems</h2>
<p>On occasion, there may be unexpected issues when you upgrade your system. If you experience any issues, please visit the <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/#Resolving_post-upgrade_issues" target="_blank">DNF system upgrade quick docs</a> for more information on troubleshooting.</p>
<p>If you are having issues upgrading and have third-party repositories installed on your system, you may need to disable these repositories while you are upgrading. For support with repositories not provided by Fedora, please contact the providers of the repositories.</p>
</div>
https://www.sickgaming.net/blog/2019/10/...fedora-31/
<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2019/10/upgrading-fedora-30-to-fedora-31.png" width="1024" height="768" title="" alt="" /></div><div><p>Fedora 31 <a href="https://fedoramagazine.org/announcing-fedora-31/">is available now</a>. You’ll likely want to upgrade your system to get the latest features available in Fedora. Fedora Workstation has a graphical upgrade method. Alternatively, Fedora offers a command-line method for upgrading Fedora 30 to Fedora 31.</p>
<p> <span id="more-29566"></span> </p>
<h2>Upgrading Fedora 30 Workstation to Fedora 31</h2>
<p>Soon after release time, a notification appears to tell you an upgrade is available. You can click the notification to launch the <strong>GNOME Software</strong> app. Or you can choose Software from GNOME Shell.</p>
<p>Choose the <em>Updates</em> tab in GNOME Software and you should see a screen informing you that Fedora 31 is Now Available.</p>
<p>If you don’t see anything on this screen, try using the reload button at the top left. It may take some time after release for all systems to be able to see an upgrade available.</p>
<p>Choose <em>Download</em> to fetch the upgrade packages. You can continue working until you reach a stopping point, and the download is complete. Then use GNOME Software to restart your system and apply the upgrade. Upgrading takes time, so you may want to grab a coffee and come back to the system later.</p>
<h2>Using the command line</h2>
<p>If you’ve upgraded from past Fedora releases, you are likely familiar with the <em>dnf upgrade</em> plugin. This method is the recommended and supported way to upgrade from Fedora 30 to Fedora 31. Using this plugin will make your upgrade to Fedora 31 simple and easy.</p>
<h3>1. Update software and back up your system</h3>
<p>Before you do start the upgrade process, make sure you have the latest software for Fedora 30. This is particularly important if you have modular software installed; the latest versions of dnf and GNOME Software include improvements to the upgrade process for some modular streams. To update your software, use <em>GNOME Software</em> or enter the following command in a terminal.</p>
<pre class="wp-block-preformatted">sudo dnf upgrade --refresh</pre>
<p>Additionally, make sure you back up your system before proceeding. For help with taking a backup, see <a href="https://fedoramagazine.org/taking-smart-backups-duplicity/">the backup series</a> on the Fedora Magazine.</p>
<h3>2. Install the DNF plugin</h3>
<p>Next, open a terminal and type the following command to install the plugin:</p>
<pre class="wp-block-preformatted">sudo dnf install dnf-plugin-system-upgrade</pre>
<h3>3. Start the update with DNF</h3>
<p>Now that your system is up-to-date, backed up, and you have the DNF plugin installed, you can begin the upgrade by using the following command in a terminal:</p>
<pre class="wp-block-preformatted">sudo dnf system-upgrade download --releasever=31</pre>
<p>This command will begin downloading all of the upgrades for your machine locally to prepare for the upgrade. If you have issues when upgrading because of packages without updates, broken dependencies, or retired packages, add the <em>‐‐allowerasing</em> flag when typing the above command. This will allow DNF to remove packages that may be blocking your system upgrade.</p>
<h3>4. Reboot and upgrade</h3>
<p>Once the previous command finishes downloading all of the upgrades, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal:</p>
<pre class="wp-block-preformatted">sudo dnf system-upgrade reboot</pre>
<p>Your system will restart after this. Many releases ago, the <em>fedup</em> tool would create a new option on the kernel selection / boot screen. With the <em>dnf-plugin-system-upgrade</em> package, your system reboots into the current kernel installed for Fedora 30; this is normal. Shortly after the kernel selection screen, your system begins the upgrade process.</p>
<p>Now might be a good time for a coffee break! Once it finishes, your system will restart and you’ll be able to log in to your newly upgraded Fedora 31 system.</p>
<div class="wp-block-image">
<figure class="aligncenter"><a href="https://www.sickgaming.net/blog/wp-content/uploads/2019/10/upgrading-fedora-30-to-fedora-31-1.png"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2019/10/upgrading-fedora-30-to-fedora-31.png" alt="Upgrading Fedora: Upgrade complete!" class="wp-image-13493" /></a></figure>
</div>
<h2>Resolving upgrade problems</h2>
<p>On occasion, there may be unexpected issues when you upgrade your system. If you experience any issues, please visit the <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/#Resolving_post-upgrade_issues" target="_blank">DNF system upgrade quick docs</a> for more information on troubleshooting.</p>
<p>If you are having issues upgrading and have third-party repositories installed on your system, you may need to disable these repositories while you are upgrading. For support with repositories not provided by Fedora, please contact the providers of the repositories.</p>
</div>
https://www.sickgaming.net/blog/2019/10/...fedora-31/