Fedora 22 upgrade using FEDUP tool

Fedora project team recently released Fedora 22. We have already covered in our previous article, what’s new in Fedora 22. In this article I’m going to show, how to upgrade from fedora 21 to fedora 22 using fedup method. Since Fedora 18 they advise us to perform upgrade using fedup tool.

Note :1) Take backup of your important data before upgrading, If anything goes wrong we can re install freshly and restore the data.
2) The upgrade will take time based on your internet connection & application which you have installed on your system.

1) Checking current version of my Desktop

See my current desktop version.

[email protected] [~]# cat /etc/*-release
Fedora release 21 (Twenty One)
NAME=Fedora
VERSION="21 (Twenty One)"
ID=fedora
VERSION_ID=21
PRETTY_NAME="Fedora 21 (Twenty One)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:21"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=21
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=21
Fedora release 21 (Twenty One)
Fedora release 21 (Twenty One)

2) Installing & updating fedup package

Use the below command to install and update fedup package.

# Change GUI to Command line #
[email protected] [~]# init 3

# Installing fedup package #
[email protected] [~]# yum install fedup

# upgrading fedup package #
[email protected] [~]# yum update fedup fedora-release

# Run the below command for network method upgrade #
[email protected] [~]# fedup --network 22

# Check the logs, if any errors occur in fedup #
[email protected] [~]# nano /var/log/fedup.log

Fedup process initiated screen shot.
fedora-22-upgrade-using-fedup-tool-1
Fedup completed screen shot.
fedora-22-upgrade-using-fedup-tool-2

3) Run Upgrade

Reboot your system and choose the boot menu with System Upgrade fedup and wait until the process completes. See fedup upgrade screen shot.
fedora-22-upgrade-using-fedup-tool-3
Fedup welcome screen.
fedora-22-upgrade-using-fedup-tool-4
Installing upgrade.
fedora-22-upgrade-using-fedup-tool-5
Upgrade cleaning process is running.
fedora-22-upgrade-using-fedup-tool-6
Running post transaction script Upgrade.
fedora-22-upgrade-using-fedup-tool-7
Fedora 22 boot menu.
fedora-22-upgrade-using-fedup-tool-8
Fedora 22 loading process.
fedora-22-upgrade-using-fedup-tool-9
Login screen, Enter the password and hit signin.
fedora-22-upgrade-using-fedup-tool-10
Home Page.
fedora-22-upgrade-using-fedup-tool-11
Fedora 22 (version) screen shot.
fedora-22-upgrade-using-fedup-tool-12
Alternatively you can check.
fedora-22-upgrade-using-fedup-tool-13

4) Cleaning Up Post Upgrade

After upgrade follow the below steps to Clean Up your Post Upgrade.

# Rebuilding the RPM DB to prevent RPMDB checksum error #
[email protected] [~]# rpm --rebuilddb

# Fix post upgrade issues #
[email protected] [~]# yum distro-sync --setopt=deltarpm=0

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...