How to update to the latest version of Fedora 23

To update to the latest version of Fedora 23

Step by step process to update to latest version of Fedora 23 Workstation on your system is explained in this tutorial.

To backup important files

For the update process you always have to take the backup of important files to external hard disk or other computers.

To Check for current Fedora version

Execute the following command in the terminal.

Example

[root@linuxhelp ~]# cat /etc/fedora-release 
Fedora release 22 (Twenty Two)

To install the DNF plugin system upgrade package

[root@linuxhelp ~]# sudo dnf install dnf-plugin-system-upgrade --enablerepo=updates-testing
Fedora 22 - x86_64   47% [=========           ]  62 kB/s |  20 MB     05Fedora 22 - x86_64                               62 kB/s |  41 MB     11:16    
Fedora 22 - x86_64 - Test Updates               272 kB/s | 2.6 MB     00:09    
Fedora 22 - x86_64 - Updates                    620 kB/s |  22 MB     00:35    
Last metadata expiration check performed 0:00:21 ago on Mon Mar 21 19:37:20 2016.
Dependencies resolved.
================================================================================
 Package                             Arch     Version           Repository
                                                                           Size
================================================================================
Installing:    
 dnf-plugin-system-upgrade           noarch   0.7.1-1.fc22      updates    49 k
 python2-dnf-plugin-system-upgrade   noarch   0.7.1-1.fc22      updates    31 k
Upgrading:
 PackageKit-cached-metadata          x86_64   1.0.10-1.fc22     updates    69 M
Removing:
 PackageKit                          x86_64   1.0.6-4.fc22      @System   2.5 M

Transaction Summary
================================================================================
Install  2 Packages
Upgrade  1 Package
Remove   1 Package

Total download size: 69 M

....
....
Removed:
  PackageKit.x86_64 1.0.6-4.fc22                                                

Installed:
  dnf-plugin-system-upgrade.noarch 0.7.1-1.fc22                                 
  python2-dnf-plugin-system-upgrade.noarch 0.7.1-1.fc22                         

Upgraded:
  PackageKit-cached-metadata.x86_64 1.0.10-1.fc22    

To download updated packages

[root@linuxhelp ~]# sudo dnf system-upgrade download --releasever=23 --best
Last metadata expiration check performed 0:01:14 ago on Mon Mar 21 19:49:59 2016.
Dependencies resolved.
================================================================================
 Package                         Arch   Version                   Repository
                                                                           Size
================================================================================
Installing:
 adobe-source-han-sans-tw-fonts  noarch 1.004-2.fc23              updates  29 M
     replacing  adobe-source-han-sans-twhk-fonts.noarch 1.002-1.fc22
 audit-libs-python3              x86_64 2.4.5-1.fc23              updates  97 k
 bcache-tools                    x86_64 1.0.8-4.fc23              fedora   40 k

....
....

Is this ok [y/N]: y
Downloading Packages:
(1/1538): memtest86+-5.01-8.fc22_5.01-14.fc23.x 4.5 kB/s |  41 kB     00:09    
/var/lib/dnf/system-upgrade/memtest86+-5.01-8.fc22_5.01-14.fc23.x86_64.drpm: md5 mismatch of result
(2/1538): python3-louis-2.6.2-3.fc23.noarch.rpm  10 kB/s |  17 kB     00:01    
(3/1538): sos-3.2-2.fc23.noarch.rpm              29 kB/s | 324 kB     00:11    
(4/1538): kernel-4.4.5-300.fc23.x86_64.rpm      9.7 kB/s |  55 kB     00:05  

Options

--best - cancels all the upgrade
--allowerasing - to erase packages

To run Fedora Update

[root@linuxhelp ~]#  dnf system-upgrade reboot


Don' t attempt to reboot or turn off your system during the installation process.

To check the fedora latest version

[user1@linuxhelp ~]$ cat /etc/fedora-release 
Fedora release 23 (Twenty Three)
The update of Fedora 23 is successfully completed.
Tag : Fedora
FAQ
Q
? How do I enable or disable SELinux permanently?
A
Permanently
SELinux is enabled by default in Fedora. SELinux policy has booleans that can be used to disable SELinux for specific services or you can disable SELinux entirely. If you want to disable SELinux entirely, you can use system-config-selinux (install the policycoreutils-gui package if you don't have it) to do this graphically or set the value of SELINUX in /etc/selinux/config to disabled. You'll have to cold restart for this change to become effective.
Q
How do I enable or disable SELinux ?
A
? Temporarily
$ sestatus
(...)
Current mode: enforcing
Q
How to show the latest version?
A
dnf group list -v hidden | grep desktop
Q
how to upgrade fedora 22 to fedora 27
A
# rpm --rebuilddb # rpm -Va --nofiles --nodigest if anything is too new, do a # dnf downgrade offender(s) # dnf update --refresh # dnf install python3-dnf-plugin-system-upgrade #
Q
while update , I will get mirror error
A
check your internet. Mirror happens only internet is slow