Patching using PatchPro Software

From The System Administrator Zone

PatchPro Basics

System defaults:
/var/sadm/install/admin/default
Path to commands:
/usr/sadm/bin
Run the following command to see how far out of date your system is.
 # smpatch analyze 
Manually install an update
 # smpatch download -i <patch-id>
 # smpatch add -i <patch-id> 

Tools

pprosetup
Used to set the rules for downloading and applying patches.
pprosvc
The automation service program for Patch Manager.
smpatch
Used to actually download, apply, and remove the patches specified on the command line.

Contract-only patches may be accessed by PatchPro if you configure patchpro with your username

# pprosetup -u <sunsolve-user-name>

See related files below:

Proxy Related Variables

patchpro.sunsolve.identity=SUNSOLVEID
patchpro.proxy.host=internal.proxy.example.com
patchpro.proxy.port=8080
patchpro.proxy.user=USERNAME

Patching in Single User mode

Some patches need to be done in single user mode. An easy way is:

  cd /var/sadm/spool
  patchadd <patch-id>

A patch example

Here is what it looks like

[root /]# smpatch analyze
112945-44 SunOS 5.9: wbem Patch
[root /]# smpatch download -i 112945-44
112945-44 has been validated.
[root /]# smpatch add -i 112945-44
add patch 112945-44
Patch number 112945-44 has been successfully installed.
/var/sadm/pkg/SUNWmcc/save/112945-44/undo: -- file unchanged
compress(1) returned error code 2
The SUNWmcc backout package will not be compressed.
Continuing to process backout package.
/var/sadm/pkg/SUNWmccom/save/112945-44/undo: -- file unchanged
compress(1) returned error code 2
The SUNWmccom backout package will not be compressed.
Continuing to process backout package.
/var/sadm/pkg/SUNWmga/save/112945-44/undo: -- file unchanged
compress(1) returned error code 2
The SUNWmga backout package will not be compressed.
Continuing to process backout package.
/var/sadm/pkg/SUNWpmgr/save/112945-44/undo: -- file unchanged
compress(1) returned error code 2
The SUNWpmgr backout package will not be compressed.
Continuing to process backout package.
//usr/sadm/lib/smc/prereg/SUNWwbmc/SUNWwbmc.mcreg already exists
[root /]#

Related Files

/etc/patch/patch.conf
exists on some systems... most use the next file
/etc/opt/SUNWppro/etc/patchpro.conf
contains the patchpro configuration settings
/opt/SUNWppro/lib/.sunsolvepw
contains a plain text copy of the sunsolve password
/opt/SUNWppro/lib/.proxypw
Contains a plain text copy of the proxy password