SUMMARY:patchadd problem

From: Feng Qiu (
Date: Wed Mar 01 2000 - 11:40:48 CST

Hello, all,
Within two hour,
       Casper Dik <>
solved the problem. Thank you very much. I should read faq first.

Here are the question and answer:

>Hello, all,
>When I try to install a patch using patchadd, I got following error. I
>use Ultra2 with solaris7.
># patchadd ./107078-10
>Checking installed patches...
>Verifying sufficient filesystem capacity (dry run method)...
>Installing patch packages...
>Patch 107078-10 failed to install due to a failure produced by pkgadd.
>See /var/sadm/patch/107078-10/log for details
># more /var/sadm/patch/107078-10/log
>This appears to be an attempt to install the same architecture and
>version of a package which is already installed. This installation
>will attempt to overwrite this package.
>A1.2.1_04/5.7/107078-10/SUNWxwfnt/install/checkinstall: cannot open
>pkgadd: ERROR: checkinstall script did not complete successfully
>Dryrun complete.
>No changes were made to the system.

The solaris FAQ says:

5.55) Patch installation often fails with "checkinstall" errors.

    When installing a patch, the Solaris 2.5+ patch installation
    procedure will execute the script "checkinstall" with uid nobody.

    If any of the patch files or if any part of the path leading up to
    the patch directory cannot be read by nobody, an error similar to
    the following will appear:

    patchadd . # or ./installpatch .
    Generating list of files to be patched...
    Verifying sufficient filesystem capacity (exhaustive method) ...
    Installing patch packages...
    pkgadd: ERROR: checkinstall script did not complete successfully

    You can workaround this in two ways, one is to make sure that the
    user "nobody" can read all patch files and execute a "pwd" in the
    patch directory or add an account "install" to /etc/passwd:

        install:x:0:1:installpatch braindamage:/:/bin/true

    Installpatch and patchadd use "nobody" as a fallback if it cannot
    find the "install" user.

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:04 CDT