Sample of the Uninstall Process from a Package Installation

This section shows the execution of the HP-UX swremove utility to remove the Endpoint Privilege Management for Unix and Linux depots. First, swremove is used to uninstall Endpoint Privilege Management for Unix and Linux software from the host. Then, swremove is used to remove the Endpoint Privilege Management for Unix and Linux depots from the SD depot:

# swremove PowerBroker-Cfg PowerBroker-hpia64
=======  05/27/17 09:54:20 PDT  BEGIN swremove SESSION
(non-interactive)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0267)
* Session started for user
"root@pbul-qa-hpux11v3-01.unix.symark.com".
                 
* Beginning Selection
* Target connection succeeded for
"pbul-qa-hpux11v3-01.unix.symark.com:/".
* Software selections:
PowerBroker-Cfg.CLIENT1,l=/,r=9.4.3.18,a=HP-UX_B.11.11/23/31_32/64_IA/PA,v=BeyondTrust
PowerBroker-hpia64.RUNHOST,l=/,r=9.4.3.18,a=HP-UX_B.11.23/31_64_IA,v=BeyondTrust
PowerBroker-hpia64.SHAREDLIBS,l=/,r=9.4.3.18,a=HP-UX_B.11.23/31_64_IA,v=BeyondTrust
PowerBroker-hpia64.SUBMITHOST,l=/,r=9.4.3.18,a=HP-UX_B.11.23/31_64_IA,v=BeyondTrust
* Selection succeeded.
                 
* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swremove.last".
* The analysis phase succeeded for
"pbul-qa-hpux11v3-01.unix.symark.com:/".
* Analysis succeeded.
                 
* Beginning Execution
* The execution phase succeeded for
"pbul-qa-hpux11v3-01.unix.symark.com:/".
* Execution succeeded.
                 
NOTE: More information may be found in the agent logfile using the
command "swjob -a log pbul-qa-hpux11v3-01.unix.symark.com-0267
@ pbul-qa-hpux11v3-01.unix.symark.com:/".
=======  05/27/17 09:54:26 PDT  END swremove SESSION (non-interactive)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0267)
# swjob -a log pbul-qa-hpux11v3-01.unix.symark.com-0267 @ pbul-qa-hpux11v3-01.unix.symark.com:/
=======  05/27/17 09:54:20 PDT  BEGIN remove AGENT SESSION (pid=16901)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0267)
* Agent session started for user
"root@pbul-qa-hpux11v3-01.unix.symark.com". (pid=16901)
* Beginning Analysis Phase.
* Target:  pbul-qa-hpux11v3-01.unix.symark.com:/
* Target logfile:
pbul-qa-hpux11v3-01.unix.symark.com:/var/adm/sw/swagent.log
* Reading source for file information.
* Summary of Analysis Phase:
* 4 of 4 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.
* Beginning the Unconfigure Execution Phase.
* Filesets:         4
* Files:            111
* Kbytes:           91063
NOTE: Reading pb.cfg...
NOTE: Looking for SuperDaemons to configure...
NOTE: Finished looking for SuperDaemons to configure...
NOTE: Removing PowerBroker service definitions (if any) from /etc/services.
NOTE: Removing any PowerBroker definitions from SuperDaemon inetd file /etc/inetd.conf
NOTE: Reloading SuperDaemon Configurations...
NOTE: Done Reloading SuperDaemon Configurations...
* Beginning the Remove Execution Phase.
* Removing fileset "PowerBroker-Cfg.CLIENT1,l=/,r=9.4.3.18" (1 of 4).
* Removing fileset "PowerBroker-hpia64.RUNHOST,l=/,r=9.4.3.18" (2 of 4).
Removing /opt/pbul/scripts
* Removing fileset
"PowerBroker-hpia64.SHAREDLIBS,l=/,r=9.4.3.18" (3 of 4).
* Removing fileset
"PowerBroker-hpia64.SUBMITHOST,l=/,r=9.4.3.18" (4 of 4).
* Summary of Execution Phase:
* 4 of 4 filesets had no Errors or Warnings.
* The Execution Phase succeeded.
=======  05/27/17 09:54:26 PDT  END remove AGENT SESSION (pid=16901)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0267)
# swremove -d PowerBroker-Cfg PowerBroker-hpia64
=======  05/27/17 09:56:54 PDT  BEGIN swremove SESSION
(non-interactive)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0268)
* Session started for user
"root@pbul-qa-hpux11v3-01.unix.symark.com".
     
* Beginning Selection
* Target connection succeeded for
"pbul-qa-hpux11v3-01.unix.symark.com:/var/spool/sw".
* Software selections:
PowerBroker-Cfg.CLIENT1,r=9.4.3.18,a=HP-UX_B.11.11/23/31_32/64_IA/PA,v=BeyondTrust
PowerBroker-hpia64.RUNHOST,r=9.4.3.18,a=HP-UX_B.11.23/31_64_IA,v=BeyondTrust
PowerBroker-hpia64.SHAREDLIBS,r=9.4.3.18,a=HP-UX_B.11.23/31_64_IA,v=BeyondTrust
PowerBroker-hpia64.SUBMITHOST,r=9.4.3.18,a=HP-UX_B.11.23/31_64_IA,v=BeyondTrust
* Selection succeeded.
                 
* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swremove.last".
* The analysis phase succeeded for
"pbul-qa-hpux11v3-01.unix.symark.com:/var/spool/sw".
* Analysis succeeded.
                 
* Beginning Execution
* The execution phase succeeded for
"pbul-qa-hpux11v3-01.unix.symark.com:/var/spool/sw".
* Execution succeeded.
             
NOTE:    More information may be found in the agent logfile using the
command "swjob -a log pbul-qa-hpux11v3-01.unix.symark.com-0268
@ pbul-qa-hpux11v3-01.unix.symark.com:/var/spool/sw".
=======  05/27/17 09:56:54 PDT  END swremove SESSION (non-interactive)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0268)
# swjob -a log pbul-qa-hpux11v3-01.unix.symark.com-0268 @ pbul-qa-hpux11v3-01.unix.symark.com:/var/spool/sw
=======  05/27/17 09:56:54 PDT  BEGIN remove AGENT SESSION (pid=17066)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0268)
* Agent session started for user
"root@pbul-qa-hpux11v3-01.unix.symark.com". (pid=17066)
* Beginning Analysis Phase.
* Target:
pbul-qa-hpux11v3-01.unix.symark.com:/var/spool/sw
* Target logfile:
pbul-qa-hpux11v3-01.unix.symark.com:/var/spool/sw/swagent.log
* Reading source for file information.
* Summary of Analysis Phase:
* 4 of 4 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.
* Beginning the Remove Execution Phase.
* Filesets:  4
* Files:  111
* Kbytes: 91063
* Removing fileset "PowerBroker-Cfg.CLIENT1,r=9.4.3.18" (1 of 4).
* Removing fileset "PowerBroker-hpia64.RUNHOST,r=9.4.3.18" (2 of 4).
* Removing fileset "PowerBroker-hpia64.SHAREDLIBS,r=9.4.3.18" (3  of 4).
* Removing fileset "PowerBroker-hpia64.SUBMITHOST,r=9.4.3.18" (4 of 4).
* Summary of Execution Phase:
* 4 of 4 filesets had no Errors or Warnings.
* The Execution Phase succeeded.
=======  05/27/17 09:56:54 PDT  END remove AGENT SESSION (pid=17066)
(jobid=pbul-qa-hpux11v3-01.unix.symark.com-0268)