Product SiteDocumentation Site

17.2. Finishing an Upgrade

System Updates Recommended

Once you have rebooted your system after performing an upgrade, you should also perform a manual system update. Consult Section 17.1, “Updating Your System” for more information.
If you chose to upgrade your system from a previous release rather than perform a fresh installation, you may want to examine the differences in the package set. Section 8.14.2, “ Upgrading Using the Installer ” advised you to create a package listing for your original system. You can now use that listing to determine how to bring your new system close to the original system state.
You can obtain a list of orphaned packages (that is, packages that are no longer in the repositories) from the package-cleanup tool. Install the yum-utils package and then run package-cleanup --orphans. The tool will show you orphaned packages and packages that are partially uninstalled but for which the %postun script failed.
Most software repository configurations are stored in packages that end with the term release. Check the old package list for the repositories that were installed:
awk '{print $1}' ~/old-pkglist.txt | grep 'release$'
If necessary, retrieve and install these software repository packages from their original sources on the Internet. Follow the instructions at the originating site to install the repository configuration packages for use by yum and other software management tools on your Fedora system.
Then run the following commands to make a list of other missing software packages:
awk '{print $1}' ~/old-pkglist.txt | sort | uniq > ~/old-pkgnames.txt
rpm -qa --qf '%{NAME}\n' | sort | uniq > ~/new-pkgnames.txt
diff -u ~/old-pkgnames.txt ~/new-pkgnames.txt | grep '^-' | sed 's/^-//' > /tmp/pkgs-to-install.txt
Now use the file /tmp/pkgs-to-install.txt with the yum command to restore most or all of your old software:
su -c 'yum install `cat /tmp/pkgs-to-install.txt`'

Missing Software

Due to changes in package complements between Fedora releases, it is possible this method may not restore all the software on your system. You can use the routines above to again compare the software on your system, and remedy any problems you find.