Patchadd exit codes - When do they appear ?

From: Aijaz Ahmed (aijazz_at_gmail.com)
Date: 03/29/05

  • Next message: Peter van Gemert: "Solaris 10, Ultra 30 and Monitor Problem"
    Date: Tue, 29 Mar 2005 13:53:53 +0500
    To: sunmanagers@sunmanagers.org
    
    

    Hi Managers,

    I was trying to produce an error code from "patchadd" while installing
    patches on a SUN system with 5.8 and 5.9 OS on them respectively.

    I installed an already existing patch on both the systems (thinking
    that I would receive an EXIT CODE but the message that appeared was,

    # patchadd 106040-03

    Checking installed patches...
    Patch 106040-03 has already been applied.
    See patchadd(1M) for instructions.

    Patchadd is terminating.

    This seems like an EXIT CODE #2 which says

    Exit Code meaning
    2 Attempt to apply a patch that's
    already been applied

    My question is, How can we produce an error from "patchadd" which
    mentions the EXIT CODE? Is there a specific version of patchadd which
    produces the EXIT CODE ?

    I would really appreciate any help.
    Regards,
    Aijaz Ahmed
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Peter van Gemert: "Solaris 10, Ultra 30 and Monitor Problem"

    Relevant Pages

    • Re: Solaris 9 invalid directories
      ... I just got the Solaris 10 disks and will be installing it as soon ... the machine had only the root account. ... >> create another user account, both with useradd, and with the wizard in ... I tried to use patchadd. ...
      (comp.unix.solaris)
    • Used pkgadd instead of patchadd
      ... I was crusing along on my keyboard, installing various packages on ... and accidently installed the /dev/random patch ... Now I cannot install the patch with patchadd, ... I'm thinking about using pkgrm to remove the five packages in the patch ...
      (SunManagers)
    • SUMMARY: Solaris 9 12/03: Problem initializing NFS over UDP
      ... The problem I had was that our install procedure was installing ... an obsolete patch, 114231-01, after patch 113278-04. ... "patchadd -d" so that they could not be backed out. ...
      (SunManagers)
    • Re: patches 108827-12 & 111177-04
      ... > Any advice for installing these patches will be appreciated. ... You were on the right track until answering "no" to patchadd. ...
      (comp.unix.solaris)