![]() |
![]() |
| |||||||||||
|
During patch installation, the patchadd command keeps a log of the patch installation in the /var/sadm/patch/patch-ID/log file for current Solaris versions. The patchadd command will not install a patch under the following conditions:
When you add or remove patches with the smpatch command, the command prompts you for authentication information if you do not specify the information in the command line. You can specify authentication information to the smpatch command using the following syntax:
The smpatch subcommands, such as add or remove, are separated from the authentication options and arguments by --. Or, you can let the smpatch command prompt you for the authentication information.
|
http://sunsolve.Sun.COM/pub-cgi/show.pl?target=patches/patch-access |
Determine if you are going to download a specific patch or patch cluster. Then, select one of the following:
Type the patch number (patch-ID) in the "Find Patch" search field. Then, click on Find Patch.
Entering patch-ID downloads the latest patch revision.
If this patch is freely available, the patch README is displayed. If this patch is not freely available, an ACCESS DENIED message is displayed.
There are different patch numbers for SPARC and x86 systems, which are listed in the displayed patch README. Make sure you install the patch that matches your system architecture.
Click on a recommended patch cluster based on the Solaris release running on the system to be patched.
Click the Download Patch (n bytes) HTTP or FTP button.
After the patch or patches are downloaded successfully, close the web browser.
Change to the directory that contains the downloaded patch package, if necessary.
Unzip the patch package.
% unzip patch-ID-revision |
How to Add a Unsigned Solaris Patch (patchadd)This procedure assumes that the patch has already been downloaded and unzipped.
Become superuser.
Add the patch or patches.
# patchadd patch-ID-revision |
Verify that the patch was added successfully.
# patchadd -p | grep patch-ID-revision |
In the following example, the Solaris 8 patch, 111879-01, is added to the system with the patchadd command. The patch had already been downloaded to the system previously and unzipped.
# patchadd /export/Sol8patch/111879-01 Checking installed patches... Verifying sufficient filesystem capacity (dry run method)... Installing patch packages... Patch number 111879-01 has been successfully installed. See /var/sadm/patch/111879-01/log for details Patch packages installed: SUNWwsr # patchadd -p | grep 111879-01 Patch: 111879-01 Obsoletes: Requires: Incompatibles: Packages: SUNWwsr |
How to Add a Unsigned Solaris Patch (smpatch)Use this procedure on a system that runs the Solaris 9 release.
This procedure assumes that the patch is has already been downloaded to the /var/sadm/spool directory and is unzipped.
Become superuser.
Add the patch or patches.
# /usr/sadm/bin/smpatch add patch-ID-revision |
# /usr/sadm/bin/smpatch add -i 115028-01
Authenticating as user: root
Type /? for help, pressing <enter> accepts the default denoted by [ ]
Please enter a string value for: password ::
Loading Tool: com.sun.admin.patchmgr.cli.PatchMgrCli from holoship
Login to holoship as user root was successful.
Download of com.sun.admin.patchmgr.cli.PatchMgrCli from holoship was
successful.
Patch 115028-01, or a patch required by patch 115028-01, requires a
system reboot after installation. Perform a reconfiguration reboot
immediately after the installation.
On machine holoship ...
Installing patch 115028-01
|
Check smpatch messages for instructions to reboot the system.
Reboot the system if you are instructed to reboot.
# init 6 |
Verify that the patch was added successfully.
# patchadd -p | grep patch-ID-revision |
Previous Contents Index Next ![]() |