SolarisPatchaddFailed

How to solve a failure of patchadd

While trying to install a patch, whether under Solaris 8 or Solaris 10, you may run into the following problem:

# patchadd -d /root.tmp/patches/install/111317-05
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Patch 111317-05 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/111317-05/log for details
Patchadd is terminating.

The problem is the folowing: the program patchadd is trying to do a su nobody. If the path where the patches have been unzipped cannot be read by nobody, the installation fails with the message shown above.

Two solutions are possible:

  1. Create an install user which patchadd will then use for its su command, or:
  2. Put the unzipped patches in /tmp, which, in my opinion, is the simplest solution.

Once the unzipped patch directory has been copied into /tmp, simply do:

# cd /tmp
# patchadd /111317-05

The installation of the patch should then proceed without any problems.

See Also: