Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

Administrator Commands and Files Pcleanup(8)
NAME
Pcleanup - Moves or removes obsolete OSS les
SYNOPSIS
Pcleanup -i | -r { source | target } | -?
Pcleanup -m [-?]
FLAGS
-i Displays a list of all obsolete OSS les, as identied within the remove-list les
in the /etc/install_obsolete
directory.
-m Moves all obsolete les specied within the remove-list les in the
/etc/install_obsolete
directory to the /etc/install_obsolete
directory but does not
delete them.
-r { source | target }
When source is specied, removes all obsolete les from their locations as given
in the remove-list les within the /etc/install_obsolete
directory. When target is
specied, removes all obsolete les from /etc/install_obsolete (intended for use
after using Pcleanup -m.)
-? Displays usage information for the command.
DESCRIPTION
The Pcleanup utility removes or moves all obsolete OSS les after an interim product
modication (IPM) or a new release of OSS has been installed on a system.
The pinstall utility installs OSS les into the OSS le system but it does not remove les that
were made obsolete by the IPM or release. The Pcleanup utility can provide the le removal
function.
The Pcleanup utility uses a set of remove-list les. These remove-list les are included in the
pax archive les for OSS products. The remove-list les are named
/etc/install_obsolete/PINSTALL_REMOVE_LIST_
lename, where lename is the Guardian
le identier of the pax archive le the remove-list le applies to. Usually lename contains a
product number.
Each remove-list le contains a list of absolute pathnames for the obsolete les in their originally
installed locations. Each pathname is on a separate line, terminated by a carriage return.
The remove-list les are not removed by the Pcleanup utility.
EXAMPLES
1. The following command removes the obsolete les from the locations given in the
remove lists.
Pcleanup -r source
2. The following command moves obsolete les from the locations given in the remove-list
les to the directory /etc/install_obsolete.
Pcleanup -m
3. The following command removes obsolete les from /etc/install_obsolete, to which
those les were moved using the -r ag.
Pcleanup -r target
527188-007 Hewlett-Packard Company 1247