Home > English, Tech Crunch > HOWTO Patch Solaris using Sun PatchPro 2.2

HOWTO Patch Solaris using Sun PatchPro 2.2

This article was first written in February 2004 for
the BeezNest technical website (http://glasnost.beeznest.org/articles/105)

Here is HOWTO patch Sun’s Solaris using Sun PatchPro 2.2. It has been tested on Solaris 8/SPARC.

  • login as root (you may want to use sudo instead)
  • change directory to where you put PatchPro (unless you already put smpatch in your path):
cd /export/home/jwarnier
  • execute the following:
./pproSunOSsparc5.8jre2.2/SUNWpmgr/reloc/usr/sadm/bin/smpatch update

Complications are possible if some of the patches are to be installed interactively (it will tell you, though will not tell you how to fix it). In this case, you have to follow this procedure for the patches needing it:

  • login as root (again, you may want to use sudo instead)
  • change directory to mine (again, I will probably change it soon,though):
cd /export/home/jwarnier
  • execute the following (with xxxxxx-xx being the patch number):
./pproSunOSsparc5.8jre2.2/SUNWpmgr/reloc/usr/sadm/bin/smpatch download -i xxxxxx-xx
  • change directory to /var/sadm/spool:
cd /var/sadm/spool
  • there should be a file called xxxxxx-xx.jar
  • unzip the xxxxxx-xx.jar file:
unzip xxxxxx-xx.jar
  • there should now be a xxxxxx-xx directory
  • issue the following command:
patchadd /var/sadm/spool/xxxxxx-xx
  • delete the 2 directories created (xxxxxx-xx and META-INF):
rm -r xxxxxx-xx META-INF
Advertisements
Categories: English, Tech Crunch Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: