From Fedora Project Wiki
(clean up some fedup leftovers) |
(update per discussion on test list https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org/thread/OKP2DFFKV2AH6PAZV4K5OMKZXVTXNQKD/) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{tempdoc}}</noinclude> | |||
<ol> | |||
<li> Install the latest stable version of {{package|dnf-plugin-system-upgrade}} package: | |||
<pre>sudo dnf install --best --refresh dnf-plugin-system-upgrade</pre> | |||
<li> Download the updates: | |||
{{#tag:pre|sudo dnf system-upgrade download --refresh --releasever={{FedoraVersionNumber|next}}}} | |||
<ul> | |||
<li> You can change <code>{{FedoraVersionNumber|next}}</code> to test upgrading to a different Fedora release, of course. | |||
<li> If you need to use a local mirror to test a brand new change, you can enable it as normal, i.e. by adding {{command|1=--enablerepo=<name>}} option to the command line. | |||
</ul> | |||
<li> To aid debugging, run this command to enable a root shell on VT9 during the upgrade boot: | |||
<pre>sudo systemctl add-wants system-update.target debug-shell.service</pre> | |||
If anything goes wrong during upgrade, you can live switch to VT9 and inspect current system state, logs, etc. | |||
<li> If downloading has completed without error, run: | |||
<pre>sudo dnf system-upgrade reboot</pre> | |||
<li> Once the system reboots, the system should boot into the upgrade process and a graphical progress screen should be displayed | |||
* Pressing {{key_press|Esc}} should switch from the graphical progress screen to the text progress information display | |||
<li> Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu | |||
<li> Log in to the upgraded system and test basic system applications (a terminal, file browser, or other, depending on the system flavor) | |||
</ol> |
Latest revision as of 12:18, 12 June 2017
Template documentation [edit]
- This documentation is transcluded from Template:Dnf upgrade procedure/doc. It will not be transcluded on pages that use this template.
- Install the latest stable version of
dnf-plugin-system-upgrade
package:sudo dnf install --best --refresh dnf-plugin-system-upgrade
- Download the updates:
sudo dnf system-upgrade download --refresh --releasever=42
- You can change
42
to test upgrading to a different Fedora release, of course. - If you need to use a local mirror to test a brand new change, you can enable it as normal, i.e. by adding
--enablerepo=<name>
option to the command line.
- You can change
- To aid debugging, run this command to enable a root shell on VT9 during the upgrade boot:
sudo systemctl add-wants system-update.target debug-shell.service
If anything goes wrong during upgrade, you can live switch to VT9 and inspect current system state, logs, etc.
- If downloading has completed without error, run:
sudo dnf system-upgrade reboot
- Once the system reboots, the system should boot into the upgrade process and a graphical progress screen should be displayed
- Pressing Esc should switch from the graphical progress screen to the text progress information display
- Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu
- Log in to the upgraded system and test basic system applications (a terminal, file browser, or other, depending on the system flavor)