Sample of the Uninstall Process from a Package Installation

This section shows the execution of the Solaris pkgrm utility to remove the Privilege Management for Unix and Linux packages.

# cd /opt/acpkg/powerbroker/v9.4/pmul_solaris9-10.sparc_9.4.3-06/install
# pkgrm -na ./BTPBadminCLIENT1 BTPBcfCLIENT1 BTPBsbmh BTPBrunh BTPBlibs
        Reading pb.cfg...
        Looking for SuperDaemons to configure...
        Finished looking for SuperDaemons to configure...
        Removing PowerBroker service definitions (if any) from /etc/inet/services.
        Removing any PowerBroker definitions from SuperDaemon inetd file /etc/inet/inetd.conf
        Reloading SuperDaemon Configurations...
        Done Reloading SuperDaemon Configurations...
        Removal of <BTPBcfCLIENT1> was successful.
        Removal of <BTPBsbmh> was successful.
        Removal of <BTPBrunh> was successful.
        Removal of <BTPBlibs> was successful.