Uppgradera en version

How do I use it?
Back up your important data. Every system change is potentially risky, be prepared. In case you update your workstation, it is also wise to download a Workstation Live image and make sure your hardware (graphics card, wifi, etc) works well with the latest kernel and drivers.
Update your system using the standard updater for your desktop or dnf:$ sudo dnf upgrade --refresh
(Don't type the $ in these commands; that just indicates that you type this at a terminal prompt as a non-root user.)

After updating, we recommend you reboot your computer, especially if you've just installed a new kernel.

Please note that there is an issue if you use a non-default plymouth boot theme. If you do, please follow the issue description to make sure your upgrade will not be affected.
Double check your DNF configuration in /etc/dnf/dnf.conf, if you have done any custom configuration (either manually or via third-party tool), it's recommended to revert it to default before updating and upgrading your system.
Install dnf-plugin-system-upgrade package:

$ sudo dnf install dnf-plugin-system-upgrade
Download the updated packages:

$ sudo dnf system-upgrade download --refresh --releasever=25
Change the --releasever= number if you want to upgrade to a different system release. Most people will want to upgrade to the latest stable release, which is 25, but if you're running Fedora 23, you might want to upgrade just to Fedora 24. You can also use 26 for upgrading to Branched or rawhide for upgrading to Rawhide (warning: those are not stable releases).

If you are upgrading to Rawhide, you will need to import the rpm gpg key for it. This will be the highest numbered key version in /etc/pki/rpm-gpg/. For example if there is a Branched release that is 26, then you should look for a 27, and if there is currently no Branched release, it will be 26.$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-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. This often happens with packages installed from third-party repositories for which an updated repositories hasn't been yet published. Please study very careful the output and examine which packages are going to be removed. None of them should be essential for system functionality, but some of them might be important for your productivity.
In case of unsatisfied dependencies, you can sometimes see more details if you add --best option to the command line. </ul>
Trigger the upgrade process:

$ sudo dnf system-upgrade reboot
This will reboot your machine immediately. The system should boot again into Fedora using the same kernel, but this time, the upgrade process appears on the boot screen.
Wait for the upgrade process to complete.

Föregående sida: Uppgradera Centosversion Nästa sida: Kopiera hårddisk med dd