On this page
Patching Solaris
Introduction
I won’t go into detailed explanation of what a patch is, but you should know that by applying patches (fixes), you can eliminate bugs and security vulnerabilities.
Detecting Patches
|
|
Patch: 106793-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea . . .
|
|
Patch: 106793-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea
. . .
These versions should be identical. If they’re not, it means a patch has been applied.
You can also see the different system patches here:
|
|
107558-05 107594-04 107630-01 107663-01 107683-01 107696-01
107817-01 107582-01 107612-06 107640-03
Retrieving Patches
For France, here is the address for Solaris patches: http://sunsolve.sun.fr
Then, on Sun’s FTP site, get the latest version:
|
|
|
|
Decompress the patch:
|
|
Implementing Patches
Here are the existing commands:
- patchadd - Install a patch
- patchrm - Remove a patch
- smpatch - utility to download and install a patch
patchadd
Let’s install the patch:
|
|
|
|
pathrm
To remove a patch:
|
|
|
|
Don’t forget to restart the machine after applying a patch.
smpatch
There’s also another utility that allows you to automatically download and install (or remove) a patch:
|
|
|
|
Last updated 28 Nov 2006, 18:14 +0200.