How to Download and Apply a Signed Patch to a Solaris System
Ensure that you have completed the preparation tasks before downloading and applying a signed patch to your system. For more information, see Downloading and Installing the Patch Management Tools (Task Map).
To download and apply a signed patch on a Solaris system, follow this procedure. Following the procedure are examples.
Become superuser.
Download one or more signed patches from the SunSolve Web site to your local system. # smpatch download -i patch-ID -i patch-ID ...
Requested patches:
patch-ID
patch-ID
...
Downloading the requested patches
/var/sadm/spool/patch-ID.jar has been validated.
/var/sadm/spool/patch-ID.jar has been validated.
...
For downloaded patch(es) see /var/sadm/spool
|
This command also analyzes the system to determine the list of recommended patches to download.
Apply the signed patches. # smpatch add -i patch-ID -i patch-ID
|
Example--Downloading and Applying a Signed Patch That Has No Dependencies
This example shows how to download and apply patch 105407-01 by using the smpatch command on a Solaris 2.6 system.
# smpatch download -i 105407-01
Requested patches:
105407-01
Downloading the requested patches
/var/sadm/spool/105407-01.jar has been validated.
For downloaded patch(es) see /var/sadm/spool
# smpatch add -i 105407-01
On machine "earth/172.20.27.27" ...
Installing patch 105407-01 ...
Purging /var/sadm/spool/105407-01
/var/sadm/spool/README.txt has been moved to
/var/sadm/spool/patchproSequester
|
Example--Downloading and Applying a Signed Patch That Has Dependencies
This example shows how to download and apply patch 107081-45 by using the smpatch command on a Solaris 7 system or a Solaris 8 system. This patch has two patch dependencies, which are automatically downloaded and verified.
# smpatch download -i 107081-45
Requested patches:
107081-45
Downloading the requested patches
The following patches were added due to patch dependencies:
108376-37
107656-09
/var/sadm/spool/108376-37.jar has been validated.
/var/sadm/spool/107656-09.jar has been validated.
/var/sadm/spool/107081-45.jar has been validated.
For downloaded patch(es) see /var/sadm/spool
# smpatch add -i 108376-37 -i 107656-09 -i 107081-45
On machine "venus/172.20.27.26" ...
Installing patch 108376-37 ...
Installing patch 107656-09 ...
Installing patch 107081-45 ...
Purging /var/sadm/spool/108376-37
Purging /var/sadm/spool/107656-09
Purging /var/sadm/spool/107081-45
|
Example--Downloading and Applying a Signed Patch That Has No Dependencies to a Solaris 9 System
This example shows how to download and apply a signed patch by using the smpatch command on a Solaris 9 system.
# /usr/sadm/bin/smpatch download -i 111711-01
Authenticating as user: root
Type /? for help, pressing <enter> accepts the default denoted by [ ]
Please enter a string value for: password :: xxx
Loading Tool: com.sun.admin.patchmgr.cli.PatchMgrCli from starbug
Login to starbug as user root was successful.
Download of com.sun.admin.patchmgr.cli.PatchMgrCli from starbug was
successful.
Requested patches:
111711-01
Downloading the requested patches ...
For downloaded patch(es) see /var/sadm/spool.
# smpatch add -i 111711-01
Authenticating as user: root
Type /? for help, pressing <enter> accepts the default denoted by [ ]
Please enter a string value for: password :: xxx
Loading Tool: com.sun.admin.patchmgr.cli.PatchMgrCli from starbug
Login to starbug as user root was successful.
Download of com.sun.admin.patchmgr.cli.PatchMgrCli from starbug was
successful.
On machine starbug ...
Installing patch 111711-01
|
|