Sample Removal of an AIX Package Installation

This section shows the execution of the AIX installp -u command to remove the Privilege Management for Unix and Linux packages.

# installp -u powerbroker
+-----------------------------------------------------------------------------+
Pre-deinstall Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
SUCCESSES
---------
Filesets listed in this section passed pre-deinstall verification
and will be removed.
Selected Filesets
-----------------
powerbroker.common 9.4.3.18                 # BeyondTrust PowerBroker Comm...
powerbroker.configCLIENT1 9.4.3.18          # BeyondTrust PowerBroker Unix...
powerbroker.runhost 9.4.3.18                # BeyondTrust PowerBroker Run ...
powerbroker.sharedlibs 9.4.3.18             # BeyondTrust PowerBroker Shar...
powerbroker.submithost 9.4.3.18             # BeyondTrust PowerBroker Subm...
<< End of Success Section >>
FILESET STATISTICS
------------------
5  Selected to be deinstalled, of which:
5  Passed pre-deinstall verification
----
5  Total to be deinstalled
+-----------------------------------------------------------------------------+
Deinstalling Software...
+-----------------------------------------------------------------------------+
installp:  DEINSTALLING software for:
powerbroker.configCLIENT1 9.4.3.18
Reading pb.cfg...
Looking for SuperDaemons to configure...
Finished looking for SuperDaemons to configure...
Removing PowerBroker service definitions (if any) from /etc/services.
Removing any PowerBroker definitions from SuperDaemon inetd file /etc/inetd.conf
Reloading SuperDaemon Configurations...
0513-095 The request for subsystem refresh was completed successfully.
Done Reloading SuperDaemon Configurations...
Filesets processed:  1 of 5  (Total time:  6 secs).
installp:  DEINSTALLING software for:
powerbroker.runhost 9.4.3.18
Filesets processed:  2 of 5  (Total time:  6 secs).
installp:  DEINSTALLING software for:
powerbroker.sharedlibs 9.4.3.18
Filesets processed:  3 of 5  (Total time:  7 secs).
installp:  DEINSTALLING software for:
powerbroker.submithost 9.4.3.18
Filesets processed:  4 of 5  (Total time:  7 secs).
installp:  DEINSTALLING software for:
powerbroker.common 9.4.3.18
Removing /opt/pbul
Finished processing all filesets.  (Total time:  8 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
powerbroker.configCLIENT1   9.4.3.18        ROOT        DEINSTALL   SUCCESS
powerbroker.configCLIENT1   9.4.3.18        USR         DEINSTALL   SUCCESS
powerbroker.runhost         9.4.3.18        USR         DEINSTALL   SUCCESS
powerbroker.sharedlibs      9.4.3.18        USR         DEINSTALL   SUCCESS
powerbroker.submithost      9.4.3.18        USR         DEINSTALL   SUCCESS
powerbroker.common          9.4.3.18        USR         DEINSTALL   SUCCESS

Example of Using syncwpar to Propagate Package Removal From Shared WPARs

The syncwpar command synchronizes all packages between the AIX global environment and shared workload partitions (WPARs). This section shows an example of how to use the syncwpar command to propagate removal of AIX global environment packages from shared WPARs. WPARs are a feature that exists only in AIX v6.1 and higher.

When syncwpar is run and a Privilege Management configuration package is removed, the following message may display:

"inulag: The file system has read permission only."

This message can be ignored.

# syncwpar wpar01
*****************************************************************************
**
Synchronizing workload partition wpar01 (1 of 1).
*****************************************************************************
**
Executing /usr/sbin/syncroot in workload partition wpar01. syncroot: Processing root part installation status. syncroot: Synchronizing installp software.
+-----------------------------------------------------------------------------
+
Pre-deinstall Verification...
+-----------------------------------------------------------------------------
+
Verifying selections...done Verifying requisites...done Results...
 
SUCCESSES
---------
Filesets listed in this section passed pre-deinstall verification and will be removed.
 
Selected Filesets
-----------------
powerbroker.configClient 6.2.0.1 # BeyondTrust PowerBroker Conf...
 
<< End of Success Section >> FILESET STATISTICS
		 
		 
------------------
1 Selected to be deinstalled, of which:
1 Passed pre-deinstall verification
----
1 Total to be deinstalled
 
+-----------------------------------------------------------------------------
+
Deinstalling Software...
+-----------------------------------------------------------------------------
+
		 
installp: DEINSTALLING software for: powerbroker.configClient 6.2.0.1
		 
Reading pb.cfg...
Looking for SuperDaemons to configure...
Finished looking for SuperDaemons to configure...
Removing PowerBroker service definitions (if any) from /etc/services. Removing any PowerBroker definitions from SuperDaemon inetd file
/etc/inetd.conf
Reloading SuperDaemon Configurations...
0513-095 The request for subsystem refresh was completed successfully. Done Reloading SuperDaemon Configurations...
inulag: The file system has read permission only. Finished processing all filesets. (Total time: 1 secs).
	 
+-----------------------------------------------------------------------------
+
Summaries:
+-----------------------------------------------------------------------------
+
	 
Installation Summary
--------------------
Name Level Part Event Result
------------------------------------------------------------------------------
-
powerbroker.configClient 6.2.0.1 ROOT DEINSTALL SUCCESS syncroot: Processing root part installation status.
syncroot: Installp root packages are currently synchronized. syncroot: RPM root packages are currently synchronized. syncroot: Root part is currently synchronized.
syncroot: Returns Status = SUCCESS
Workload partition wpar01 synchronized successfully. Return Status = SUCCESS.

Verify Removal of Privilege Management for Unix and Linux Packages

To verify that all Privilege Management for Unix and Linux packages were removed, type the following:

# lslpp -l | grep powerbroker

If all packages are removed, results such as those shown in the example below are displayed:

# <no output.>