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
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.
Fedup welcome screen.
Upgrade cleaning process is running.
Running post transaction script Upgrade.
Fedora 22 boot menu.
Fedora 22 loading process.
Login screen, Enter the password and hit signin.
Fedora 22 (version) screen shot.
Alternatively you can check.
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