initCommon(); $template->displayHeader(); ?>

17.2. Finishing an Upgrade

[Important] 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.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.

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`'
[Important] 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.

displayFooter('$Date: 2009/01/03 18:04:12 $'); ?>