mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 13:32:42 +00:00
update system upgrade docs
* Improve messaging regarding N->N+2 upgrades. * Move some details regarding Rawhide issues to the specific Rawhide wiki page. This generic guide doesn't need to go into detail about Rawhide issues, because that makes it harder to read for general users (not interested in Rawhide). Power users can follow a link. * Update gnome-software screenshot (more recent, with graphics). * Clearly state that upgrading using pure `dnf` or `fedora-upgrade` is unsupported. * Other small adjustments and clarifications, link fixes. Make section headlines look consistent across articles (don't capitalize every word).
This commit is contained in:
parent
b479332408
commit
f417e3dece
6 changed files with 45 additions and 56 deletions
Binary file not shown.
Before Width: | Height: | Size: 79 KiB |
BIN
modules/ROOT/assets/images/upgrade-gnome-software.png
Normal file
BIN
modules/ROOT/assets/images/upgrade-gnome-software.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 261 KiB |
|
@ -2,3 +2,4 @@
|
||||||
:NEXTVER: 34
|
:NEXTVER: 34
|
||||||
:NEXTNEXTVER: 35
|
:NEXTNEXTVER: 35
|
||||||
:PREVVER: 32
|
:PREVVER: 32
|
||||||
|
:PREVPREVVER: 31
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
include::{partialsdir}/attributes.adoc[]
|
include::{partialsdir}/attributes.adoc[]
|
||||||
|
|
||||||
link:++https://github.com/rpm-software-management/dnf-plugins-extras++[`dnf-plugin-system-upgrade`] is a plugin for the xref:dnf.adoc[DNF] package manager and is used to upgrade your system to the current release of Fedora.
|
link:++https://github.com/rpm-software-management/dnf-plugins-extras++[`dnf-plugin-system-upgrade`] is a plugin for the xref:dnf.adoc[DNF] package manager and is used to upgrade your system to the current release of Fedora.
|
||||||
For Fedora Silverblue and Fedora CoreOS, which use rpm-ostree, you may refer to link:++https://rpm-ostree.readthedocs.io/en/latest/manual/administrator-handbook/++[Read The Docs: rpm-ostree] for details.
|
For Fedora Silverblue and Fedora CoreOS, which use rpm-ostree, you may refer to link:++https://coreos.github.io/rpm-ostree/administrator-handbook/++[rpm-ostree documentation] for details.
|
||||||
|
|
||||||
This is the recommended command-line upgrade method for Fedora 21 and later and works as follows:
|
This is the recommended command-line upgrade method for Fedora 21 and later and works as follows:
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ This is the recommended command-line upgrade method for Fedora 21 and later and
|
||||||
. Upon completion, the system reboots into the new Fedora release
|
. Upon completion, the system reboots into the new Fedora release
|
||||||
|
|
||||||
[[sect-performing-system-upgrade]]
|
[[sect-performing-system-upgrade]]
|
||||||
== Performing System Upgrade
|
== Performing system upgrade
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
====
|
====
|
||||||
|
@ -34,6 +34,8 @@ sudo dnf upgrade --refresh
|
||||||
----
|
----
|
||||||
+
|
+
|
||||||
and reboot your computer.
|
and reboot your computer.
|
||||||
|
+
|
||||||
|
*Important:* Do not skip this step. System updates are required to receive signing keys of higher-versioned releases, and they often fix problems related to the upgrade process.
|
||||||
|
|
||||||
. Install the dnf-plugin-system-upgrade package if it is not currently installed:
|
. Install the dnf-plugin-system-upgrade package if it is not currently installed:
|
||||||
+
|
+
|
||||||
|
@ -46,21 +48,13 @@ sudo dnf install dnf-plugin-system-upgrade
|
||||||
+
|
+
|
||||||
[source,bash,subs="attributes"]
|
[source,bash,subs="attributes"]
|
||||||
----
|
----
|
||||||
sudo dnf system-upgrade download --refresh --releasever={MAJOROSVER}
|
sudo dnf system-upgrade download --releasever={MAJOROSVER}
|
||||||
----
|
----
|
||||||
+
|
+
|
||||||
Change the `--releasever=` number if you want to upgrade to a different release.
|
Change the `--releasever=` number if you want to upgrade to a different release.
|
||||||
Most people will want to upgrade to the latest stable release, which is `{MAJOROSVER}`, but in some cases, such as when you're currently running an older release than `{PREVVER}`, you may want to upgrade just to Fedora `{PREVVER}`.
|
Most people will want to upgrade to the latest stable release, which is `{MAJOROSVER}`, but in some cases, such as when you're currently running an older release than `{PREVVER}`, you may want to upgrade just to Fedora `{PREVVER}`. System upgrade is only officially supported and tested over 2 releases at most (e.g. from `{PREVPREVVER}` to `{MAJOROSVER}`). If you need to upgrade over more releases, it is recommended to do it in several smaller steps (<<sect-how-many-releases-can-i-upgrade-across-at-once,read more>>).
|
||||||
You can also use `{NEXTVER}` to upgrade to a link:https://fedoraproject.org/wiki/Releases/Branched[Branched] release, or `rawhide` to upgrade to link:https://fedoraproject.org/wiki/Releases/Rawhide[Rawhide]. Note that neither of these two are stable releases.
|
|
||||||
+
|
+
|
||||||
If you are upgrading to Rawhide, you will need to import the RPM GPG key for it.
|
You can also use `{NEXTVER}` to upgrade to a link:https://fedoraproject.org/wiki/Releases/Branched[Branched] release, or `rawhide` to upgrade to link:https://fedoraproject.org/wiki/Releases/Rawhide[Rawhide]. Note that neither of these two are stable releases. For details about the upgrade process and common issues related to those two releases, please look at appropriate sections on aforelinked pages.
|
||||||
This will be the highest numbered key version in `/etc/pki/rpm-gpg/`.
|
|
||||||
For example, if there is a Branched release that is `{NEXTVER}`, then you should look for a `{NEXTNEXTVER}`, and if there is currently no Branched release, it will be `{NEXTVER}`:
|
|
||||||
+
|
|
||||||
[source,bash,subs="attributes"]
|
|
||||||
----
|
|
||||||
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-{NEXTVER}-primary
|
|
||||||
----
|
|
||||||
|
|
||||||
. If some of your packages have unsatisfied dependencies, the upgrade will refuse to continue until you run it again with an extra `--allowerasing` option.
|
. 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.
|
This often happens with packages installed from third-party repositories for which an updated repositories hasn't been yet published.
|
||||||
|
@ -81,7 +75,7 @@ sudo dnf system-upgrade reboot
|
||||||
. Once the upgrade process completes, your system will reboot a second time into the updated release version of Fedora.
|
. Once the upgrade process completes, your system will reboot a second time into the updated release version of Fedora.
|
||||||
|
|
||||||
[[sect-optional-post-upgrade-tasks]]
|
[[sect-optional-post-upgrade-tasks]]
|
||||||
== Optional Post-Upgrade Tasks
|
== Optional post-upgrade tasks
|
||||||
|
|
||||||
These are some of the tasks you can do after a successful upgrade.
|
These are some of the tasks you can do after a successful upgrade.
|
||||||
|
|
||||||
|
@ -91,7 +85,7 @@ This section is mainly intended for power users. If you are a general user who d
|
||||||
====
|
====
|
||||||
|
|
||||||
[[sect-update-system-configuration-files]]
|
[[sect-update-system-configuration-files]]
|
||||||
=== Update System Configuration Files
|
=== Update system configuration files
|
||||||
|
|
||||||
Most configuration files are stored in the `/etc` folder.
|
Most configuration files are stored in the `/etc` folder.
|
||||||
If you have changed the package's configuration files, RPM creates new files with either `.rpmnew` (the new default config file), or `.rpmsave` (your old config file backed up).
|
If you have changed the package's configuration files, RPM creates new files with either `.rpmnew` (the new default config file), or `.rpmsave` (your old config file backed up).
|
||||||
|
@ -123,7 +117,7 @@ For more information you can refer to the man pages (`man rpmconf`).
|
||||||
If you use `rpmconf` to upgrade the system configuration files supplied with the upgraded packages then some configuration files may change. After the upgrade you should verify `/etc/ssh/sshd_config`, `/etc/nsswitch.conf`, `/etc/ntp.conf` and others are expected. For example, if OpenSSH is upgraded then `sshd_config` reverts to the default package configuration. The default package configuration *does not* enable public key authentication, and allows password authentication.
|
If you use `rpmconf` to upgrade the system configuration files supplied with the upgraded packages then some configuration files may change. After the upgrade you should verify `/etc/ssh/sshd_config`, `/etc/nsswitch.conf`, `/etc/ntp.conf` and others are expected. For example, if OpenSSH is upgraded then `sshd_config` reverts to the default package configuration. The default package configuration *does not* enable public key authentication, and allows password authentication.
|
||||||
|
|
||||||
[[sect-clean-up-old-packages]]
|
[[sect-clean-up-old-packages]]
|
||||||
=== Clean-Up Old Packages
|
=== Clean-up old packages
|
||||||
|
|
||||||
You can see a list of packages with broken dependencies by typing:
|
You can see a list of packages with broken dependencies by typing:
|
||||||
|
|
||||||
|
@ -179,7 +173,7 @@ However, that doesn't mean that the package is not useful or that you don't use
|
||||||
====
|
====
|
||||||
|
|
||||||
[[sect-clean-up-old-symlinks]]
|
[[sect-clean-up-old-symlinks]]
|
||||||
=== Clean-Up Old Symlinks
|
=== Clean-up old symlinks
|
||||||
|
|
||||||
There may be some dangling symlinks in the filesystem after an upgrade. You can clean the dangling links by installing the symlinks utility and deleteing the old links.
|
There may be some dangling symlinks in the filesystem after an upgrade. You can clean the dangling links by installing the symlinks utility and deleteing the old links.
|
||||||
|
|
||||||
|
@ -202,7 +196,7 @@ sudo symlinks -r -d /usr
|
||||||
----
|
----
|
||||||
|
|
||||||
[[sect-resolving-post-upgrade-issues]]
|
[[sect-resolving-post-upgrade-issues]]
|
||||||
== Resolving Post-Upgrade Issues
|
== Resolving post-upgrade issues
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
====
|
====
|
||||||
|
@ -210,7 +204,7 @@ Only follow these steps if you encounter problems with your upgraded system.
|
||||||
====
|
====
|
||||||
|
|
||||||
[[sect-rebuilding-rpm-database]]
|
[[sect-rebuilding-rpm-database]]
|
||||||
=== Rebuilding the RPM Database
|
=== Rebuilding the RPM database
|
||||||
|
|
||||||
If you see warnings when working with RPM/DNF tools, your database might be corrupt.
|
If you see warnings when working with RPM/DNF tools, your database might be corrupt.
|
||||||
It is possible to rebuild it to see if resolves your issues. Always back up `/var/lib/rpm/` first.
|
It is possible to rebuild it to see if resolves your issues. Always back up `/var/lib/rpm/` first.
|
||||||
|
@ -222,7 +216,7 @@ sudo rpm --rebuilddb
|
||||||
----
|
----
|
||||||
|
|
||||||
[[sect-using-distro-sync-to-resolve-dependency-issues]]
|
[[sect-using-distro-sync-to-resolve-dependency-issues]]
|
||||||
=== Using distro-sync To Resolve Dependency Issues
|
=== Using distro-sync to resolve dependency issues
|
||||||
|
|
||||||
The system upgrade tool uses `dnf distro-sync` by default.
|
The system upgrade tool uses `dnf distro-sync` by default.
|
||||||
If your system is partly upgraded or you see some package dependency issues, try running another distro-sync manually to see if this fixes the problem.
|
If your system is partly upgraded or you see some package dependency issues, try running another distro-sync manually to see if this fixes the problem.
|
||||||
|
@ -242,7 +236,7 @@ sudo dnf distro-sync --allowerasing
|
||||||
----
|
----
|
||||||
|
|
||||||
[[sect-relabel-files-with-the-latest-selinux-policy]]
|
[[sect-relabel-files-with-the-latest-selinux-policy]]
|
||||||
=== Relabel Files With The Latest SELinux Policy
|
=== Relabel files with the latest SELinux policy
|
||||||
|
|
||||||
If you encounter any warnings regarding policies with SELinux, some files may have incorrect SELinux permissions.
|
If you encounter any warnings regarding policies with SELinux, some files may have incorrect SELinux permissions.
|
||||||
This may happen if SELinux was disabled in the past.
|
This may happen if SELinux was disabled in the past.
|
||||||
|
@ -259,7 +253,7 @@ The boot process will likely take a long time, as it checks and fixes SELinux pe
|
||||||
== Frequently Asked Questions
|
== Frequently Asked Questions
|
||||||
|
|
||||||
[[sect-how-do-i-report-issues-with-the-upgrades]]
|
[[sect-how-do-i-report-issues-with-the-upgrades]]
|
||||||
=== How Do I Report Issues With The Upgrade?
|
=== How do I report issues with the upgrade?
|
||||||
|
|
||||||
. See link:++https://fedoraproject.org/wiki/Bugs/Common++[Common bugs] to check if it is a known problem the community is already aware of.
|
. See link:++https://fedoraproject.org/wiki/Bugs/Common++[Common bugs] to check if it is a known problem the community is already aware of.
|
||||||
|
|
||||||
|
@ -271,14 +265,14 @@ Please follow the bug reporting instructions mentioned in the link:++https://git
|
||||||
If you encounter any issues after the upgrade with a specific package, file a bug against the package with which you are having issues.
|
If you encounter any issues after the upgrade with a specific package, file a bug against the package with which you are having issues.
|
||||||
|
|
||||||
[[sect-does-dnf-system-upgrade-verify-the-software-it-runs-or-installs-during-an-upgrade]]
|
[[sect-does-dnf-system-upgrade-verify-the-software-it-runs-or-installs-during-an-upgrade]]
|
||||||
=== Does DNF System Upgrade Verify The Software It Runs or Installs During An Upgrade?
|
=== Does DNF System Upgrade verify the software it runs or installs during an upgrade?
|
||||||
|
|
||||||
Yes.
|
Yes.
|
||||||
The package signing keys for the newer Fedora release are sent to older Fedora releases to allow DNF to verify the integrity of the downloaded packages.
|
The package signing keys for the newer Fedora release are sent to older Fedora releases to allow DNF to verify the integrity of the downloaded packages.
|
||||||
You can disable this function if needed, but is not recommended as you will be open to attacks from malicious software.
|
You can disable this function if needed, but is not recommended as you will be open to attacks from malicious software.
|
||||||
|
|
||||||
[[sect-will-packages-in-third-party-repositories-be-upgraded]]
|
[[sect-will-packages-in-third-party-repositories-be-upgraded]]
|
||||||
=== Will Packages In Third-Party Repositories Be Upgraded?
|
=== Will packages in third-party repositories be upgraded?
|
||||||
|
|
||||||
Yes, if they are configured like regular DNF repositories and the version numbers are not hard-coded in the repository file (usually found in `/etc/yum.repos.d/`.)
|
Yes, if they are configured like regular DNF repositories and the version numbers are not hard-coded in the repository file (usually found in `/etc/yum.repos.d/`.)
|
||||||
Commonly used third-party repositories like RPM Fusion should work.
|
Commonly used third-party repositories like RPM Fusion should work.
|
||||||
|
@ -287,39 +281,32 @@ Usually, this should not prevent the upgrade from running successfully.
|
||||||
Also, you can update packages from the third-party repository later.
|
Also, you can update packages from the third-party repository later.
|
||||||
|
|
||||||
[[sect-can-i-upgrade-from-an-end-of-life-release]]
|
[[sect-can-i-upgrade-from-an-end-of-life-release]]
|
||||||
=== Can I upgrade from an End-Of-Life (EOL) Release?
|
=== Can I upgrade from an End-of-Life (EOL) release?
|
||||||
|
|
||||||
It is strongly recommended to upgrade an EOL release on any production system, or any system connected to the public internet.
|
It is strongly recommended to upgrade an EOL release on any production system, or any system connected to the public internet.
|
||||||
|
|
||||||
Any upgrade from Fedora 20 or earlier is done *at your own risk* as DNF was not the default package management tool.
|
Any upgrade from Fedora 20 or earlier is done *at your own risk* as DNF was not the default package management tool.
|
||||||
However, if you do have a release newer than Fedora 20 that is EOL, you can attempt to do an upgrade, but this method is *not supported*.
|
However, if you do have a release newer than Fedora 20 that is EOL, you can attempt to do an upgrade, but this method is *not supported*.
|
||||||
You may try to upgrade through intermediate releases until you reach a currently-supported release, or try to upgrade to a currently-supported release in a single operation.
|
You may try to upgrade through intermediate releases until you reach a currently-supported release, or try to upgrade to a currently-supported release in a single operation.
|
||||||
Again this is un-supported and is *at your own risk*.
|
Again this is unsupported and is *at your own risk*.
|
||||||
|
|
||||||
[[sect-how-many-releases-can-i-upgrade-across-at-once]]
|
[[sect-how-many-releases-can-i-upgrade-across-at-once]]
|
||||||
=== Can I do a single upgrade across many releases (i.e. 20-27)?
|
=== Can I do a single upgrade across many releases (i.e. 30->34)?
|
||||||
|
|
||||||
It is highly recommended to upgrade across just one release (e.g. 27 to 28).
|
Upgrades to the very next release (e.g. `{PREVVER}` to `{MAJOROSVER}`) as well as upgrades skipping one release (e.g. `{PREVPREVVER}` to `{MAJOROSVER}`) are both supported. However, it is highly recommended to perform the upgrade before your release gets End of Life (EOL). That happens roughly a month after N+2 release has been released (when you're currently on release N). The link:https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle[Fedora Release Life Cycle] is specifically designed to provide this approximate one month "grace period" to allow users the choice to upgrade their systems on a yearly basis, i.e. once every two releases. You can study link:https://fedoraproject.org/wiki/Releases[Releases] to see the current release status and schedule. Around a month after the new release comes out, the last-but-one release becomes End of Life (EOL). The upgrade is likely to work successfully after the release goes EOL, but the time period after the new release may be uncertain.
|
||||||
However, for the first month or so after a new release, upgrades from the last-but-one release are 'supported' (N-2, where N is the current release).
|
|
||||||
The link:https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle[Fedora Release Life Cycle] is specifically designed to provide this approximate one month "grace period" to allow users the choice to upgrade their systems on a yearly basis, or once every two releases.
|
|
||||||
|
|
||||||
Around a month after the new release comes out, the last-but-one release becomes End Of Life (EOL).
|
|
||||||
The upgrade is likely to work successfully after the release goes end-of-life, but the time period after the new release may be uncertain.
|
|
||||||
|
|
||||||
Upgrades across more than two releases are *not supported*, and issues encountered with such upgrades may not be considered significant bugs.
|
Upgrades across more than two releases are *not supported*, and issues encountered with such upgrades may not be considered significant bugs.
|
||||||
|
|
||||||
When upgrading across multiple releases, you may need to import the GPG key for the release you want to update to. You can do this with:
|
When upgrading across more than two releases, you may need to import the GPG key for the release you want to update to. You can do this with:
|
||||||
|
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-N-primary
|
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-N-primary
|
||||||
----
|
----
|
||||||
|
|
||||||
(where N is the Fedora version.)
|
(where `N` is the Fedora version.)
|
||||||
|
|
||||||
Refer to the link:++https://getfedora.org/keys/faq/++[getfedora.org FAQ on Keys] for details.
|
|
||||||
|
|
||||||
[[sect-can-i-use-dnf-system-upgrade-to-upgrade-to-a-pre-release]]
|
[[sect-can-i-use-dnf-system-upgrade-to-upgrade-to-a-pre-release]]
|
||||||
=== Can I Use DNF System Upgrade To Upgrade To A Pre-Release (e.g. a Beta)?
|
=== Can I use DNF System Upgrade to upgrade to a pre-release (e.g. a Beta)?
|
||||||
|
|
||||||
Yes, but this is subject to temporary breakage as with any other aspect of a pre-release.
|
Yes, but this is subject to temporary breakage as with any other aspect of a pre-release.
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
= Upgrading Fedora using package manager
|
= Upgrading Fedora using package manager
|
||||||
|
|
||||||
This page contains information explaining how to upgrade Fedora online
|
This page contains information explaining how to upgrade Fedora online
|
||||||
using `dnf` (without the DNF system upgrade plugin).
|
using `dnf` (without the xref:dnf-system-upgrade.adoc[DNF system upgrade plugin]).
|
||||||
|
|
||||||
|
[WARNING]
|
||||||
|
====
|
||||||
|
|
||||||
|
This is not a supported upgrade method. Read xref:upgrading.adoc[] to see a list of supported and tested upgrade methods. The steps included in the guide are *at your own risk*.
|
||||||
|
|
||||||
|
====
|
||||||
|
|
||||||
[[upgrading-fedora-using-dnf-directly]]
|
[[upgrading-fedora-using-dnf-directly]]
|
||||||
== Upgrading Fedora using dnf directly
|
== Upgrading Fedora using dnf directly
|
||||||
|
@ -9,7 +16,7 @@ using `dnf` (without the DNF system upgrade plugin).
|
||||||
[[participate]]
|
[[participate]]
|
||||||
== Participate
|
== Participate
|
||||||
|
|
||||||
If you are upgrading using link:https://fedoraproject.org/wiki/DNF?rd=Dnf[Dnf] and it shows any general dependency
|
If you are upgrading using link:https://fedoraproject.org/wiki/DNF[DNF] and it shows any general dependency
|
||||||
issues, please file them in http://bugzilla.redhat.com[Bugzilla]. But
|
issues, please file them in http://bugzilla.redhat.com[Bugzilla]. But
|
||||||
please read this page, all references pages and search the mailing list
|
please read this page, all references pages and search the mailing list
|
||||||
archives before filing bugs. And of course, please help keep this page
|
archives before filing bugs. And of course, please help keep this page
|
||||||
|
@ -329,8 +336,5 @@ For detailed instructions on upgrades from EOL releases, please read
|
||||||
link:Upgrading_from_EOL_Fedora_using_package_manager[Upgrading from EOL
|
link:Upgrading_from_EOL_Fedora_using_package_manager[Upgrading from EOL
|
||||||
Fedora using package manager].
|
Fedora using package manager].
|
||||||
|
|
||||||
Category:FAQ Category:How_to[Category:How to] Category:Documentation
|
|
||||||
'''
|
|
||||||
|
|
||||||
See a typo, something missing or out of date, or anything else which can be
|
See a typo, something missing or out of date, or anything else which can be
|
||||||
improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.
|
improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.
|
||||||
|
|
|
@ -26,7 +26,7 @@ Clicking this, or running the _Software_ application and going to the _Updates_
|
||||||
It will download the upgrade files, then prompt for a reboot to install them, similar to a system update.
|
It will download the upgrade files, then prompt for a reboot to install them, similar to a system update.
|
||||||
When the upgrade is complete, the system will automatically reboot into the new release.
|
When the upgrade is complete, the system will automatically reboot into the new release.
|
||||||
|
|
||||||
image:Upgradef31f32-gs.png[Upgradef31f32-gs.png,title="Release Upgrade Gnome Software",width=640]
|
image:upgrade-gnome-software.png[upgrade-gnome-software.png,title="Release Upgrade Gnome Software",width=640]
|
||||||
|
|
||||||
[[sect-upgrading-using-the-dnf-system-upgrade-plugin]]
|
[[sect-upgrading-using-the-dnf-system-upgrade-plugin]]
|
||||||
== Upgrading using the DNF System Upgrade plugin
|
== Upgrading using the DNF System Upgrade plugin
|
||||||
|
@ -40,7 +40,7 @@ This is the recommended upgrade method for all other Fedora installations.
|
||||||
This method is used to a upgrade Fedora installation using the command-line.
|
This method is used to a upgrade Fedora installation using the command-line.
|
||||||
It is also used to troubleshoot issues with packages preventing the graphical method from upgrading.
|
It is also used to troubleshoot issues with packages preventing the graphical method from upgrading.
|
||||||
|
|
||||||
For instructions on upgrading with the DNF system upgrade plugin, refer to the xref:dnf-system-upgrade.adoc[DNF System Upgrade Quick Doc].
|
For instructions on upgrading with the DNF system upgrade plugin, refer to the xref:dnf-system-upgrade.adoc[] page.
|
||||||
|
|
||||||
[[sect-upgrading-to-major-versions-in-silverblue]]
|
[[sect-upgrading-to-major-versions-in-silverblue]]
|
||||||
== Upgrading between major versions in Fedora Silverblue
|
== Upgrading between major versions in Fedora Silverblue
|
||||||
|
@ -61,13 +61,12 @@ This is not a supported upgrade method.
|
||||||
|
|
||||||
====
|
====
|
||||||
|
|
||||||
Upgrading between Fedora releases without the xref:dnf-system-upgrade.adoc[DNF System Upgrade Plugin] or Gnome Software are not tested by the Fedora QA team, and are therefore not supported by the community.
|
Upgrading between Fedora releases without the xref:dnf-system-upgrade.adoc[DNF System Upgrade plugin] or <<sect-upgrading-to-the-next-fedora-workstation-release,GNOME Software>> are not tested by the Fedora QA team, and are therefore not supported by the community. You can follow xref:upgrading-fedora-online.adoc[], but you're doing that *at your own risk*.
|
||||||
|
|
||||||
[[sect-upgrade-from-prerelease-to-final-release]]
|
[[sect-upgrade-from-prerelease-to-final-release]]
|
||||||
== Upgrading from pre-release (beta) to final public release (stable)
|
== Upgrading from pre-release (beta) to final public release (stable)
|
||||||
|
|
||||||
If you are using a pre-release of Fedora, you shouldn't need to do anything to get the final public release, other than updating packages as they become available. You can use `sudo dnf update` or wait for desktop notification. When the pre-release is released as final, the `fedora-release*` packages will be updated and your `fedora-updates-testing` repository will be disabled.
|
If you are using a pre-release of Fedora, you shouldn't need to do anything to get the final public release, other than updating packages as they become available. You can use `sudo dnf update` or wait for desktop notification. When the pre-release is released as final, the `fedora-repos` packages will be updated and your `updates-testing` repository will be disabled. Once this happens (on the release day), it is highly recommended to run `sudo dnf distro-sync` in order to align package versions with the current release.
|
||||||
If dnf is complaining about mismatched package versions even though your updates-testing repo is disabled, it is recommended to run `sudo dnf distro-sync` in order to align package versions with the current release.
|
|
||||||
|
|
||||||
[[sect-how-do-i-upgrade-to-rawhide-and-branched]]
|
[[sect-how-do-i-upgrade-to-rawhide-and-branched]]
|
||||||
== How do I upgrade to Rawhide and Branched?
|
== How do I upgrade to Rawhide and Branched?
|
||||||
|
@ -76,10 +75,9 @@ link:++https://fedoraproject.org/wiki/Releases/Rawhide++[Rawhide] and link:++htt
|
||||||
They are suitable for users developing or testing Fedora before public release.
|
They are suitable for users developing or testing Fedora before public release.
|
||||||
They are *NOT SUITABLE* for regular day-to-day use unless you are a fairly experienced user, and certainly not suitable for mission-critical use.
|
They are *NOT SUITABLE* for regular day-to-day use unless you are a fairly experienced user, and certainly not suitable for mission-critical use.
|
||||||
You should read through those pages carefully before deciding to run Branched or Rawhide.
|
You should read through those pages carefully before deciding to run Branched or Rawhide.
|
||||||
See the link:++https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle++[Fedora Life Cycle Quick Doc] for more information on how the whole Fedora cycle works from Rawhide, to Branched, to the milestone releases (Alpha and Beta), to a 'final' release.
|
See the link:++https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle++[Fedora Life Cycle] for more information on how the whole Fedora cycle works from Rawhide, to Branched, to the milestone releases (Beta), to the 'Final' release.
|
||||||
|
|
||||||
Upgrading to a Branched release or to Rawhide can be done with the xref:dnf-system-upgrade.adoc[DNF System Upgrade Plugin].
|
Upgrading to a Branched release or to Rawhide can be done using xref:dnf-system-upgrade.adoc[].
|
||||||
Carefully read this page as there are some special notes to ensure a successful upgrade.
|
|
||||||
|
|
||||||
[[sect-upgrading-from-end-of-life-releases]]
|
[[sect-upgrading-from-end-of-life-releases]]
|
||||||
== Can I upgrade from an End Of Life (EOL) release?
|
== Can I upgrade from an End Of Life (EOL) release?
|
||||||
|
@ -89,7 +87,7 @@ You should never allow a production Fedora deployment to reach end-of-life in th
|
||||||
|
|
||||||
With that in mind, if you do have an end-of-life release installed on a system you cannot just discard or re-deploy, you can attempt to upgrade it, though this is not officially tested or supported.
|
With that in mind, if you do have an end-of-life release installed on a system you cannot just discard or re-deploy, you can attempt to upgrade it, though this is not officially tested or supported.
|
||||||
|
|
||||||
If you have Fedora 21 or later, you can try to upgrade using the instructions at the xref:dnf-system-upgrade.adoc[DNF System Upgrade Quick Doc].
|
If you have Fedora 21 or later, you can try to upgrade using xref:dnf-system-upgrade.adoc[DNF System Upgrade].
|
||||||
|
|
||||||
If you have Fedora 20 or earlier, you will have to perform at least part of the upgrade with bare `yum`.
|
If you have Fedora 20 or earlier, you will have to perform at least part of the upgrade with bare `yum`.
|
||||||
You can either use that method to upgrade to Fedora 21 or later and then use DNF system upgrade to upgrade from there to a currently-supported release, or just use bare `dnf` or `yum` for the entire upgrade process.
|
You can either use that method to upgrade to Fedora 21 or later and then use DNF system upgrade to upgrade from there to a currently-supported release, or just use bare `dnf` or `yum` for the entire upgrade process.
|
||||||
|
@ -112,4 +110,3 @@ After you select storage devices the installer should offer you the option to up
|
||||||
If your installation is located on a 'specialized' storage device, be sure to configure and select it.
|
If your installation is located on a 'specialized' storage device, be sure to configure and select it.
|
||||||
|
|
||||||
====
|
====
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue