SPARC: Installing Solaris Software
只搜尋這本書
以 PDF 格式下載這本書

Completing an Upgrade

10

Overview

This chapter helps you determine if a system was upgraded successfully.

What Happened During the Upgrade

A record of what the installation program did during an upgrade can be important to determine if the upgrade was a success. The output of the upgrade is saved in the following file:
  • If upgrade fails - /a/var/sadm/install_data/upgrade_log
  • If upgrade completes and system reboots - /var/sadm/install_data/upgrade_log

Cleaning Up the System After an Upgrade

During an upgrade, the Solaris installation program merges local software modifications of the existing system with the new software; however, in some cases, it is not possible. The following file provides a list of the unpreserved local modifications during the upgrade that may need to be fixed:
  • If upgrade fails --/a/var/sadm/install_data/upgrade_cleanup
  • If upgrade completes and system reboots - /var/sadm/install_data/upgrade_cleanup
Table 10-1 provides the entry descriptions of the unpreserved local modifications that may be found in the upgrade_cleanup file.
Table 10-1 upgrade_cleanup
EntryExplanationRecommended Action
file1: existing file renamed to file2file1 was on the system at the time of the upgrade. It had been modified since its original installation, so upgrade renamed file1 to file2 and saved the new file as file1.Determine whether the modifications made to file2 should be made to the new version of the file, file1.
file1: existing file preserved, the new version was installed as file2file1 has been preserved, and upgrade installed the new version of the file as file2.Determine whether the differences in the new version of file2 should be incorporated into the preserved version of file1.
file: had been deleted and has now been restoredfile had been deleted from the system since its original installation, and the upgrade installed the new version of file.Determine whether file should be deleted.
file: file type was changed from type1 to type2file has changed types since its original installation, from type1 to type2. For example, you may have changed an actual file to be a symbolic link. The upgrade changed file back to its original type, type1.Determine whether file should be changed back to type2.
file: target of symbolic link was changed from target1
to target2
Since the original installation, file
was changed to be a symbolic link
to target2 instead of target1. The
upgrade changed file to point to its
original target1.
Determine whether file
should be changed to point
to target2.
file1: target of hard link was changed from file2When originally installed, file1 was a hard link to file2. At the time of the upgrade, file1 was no longer a hard link to file2.Upgrade restores the original hard link.Determine whether file1 should be changed to what it was before the upgrade.