pkgeksrm(1M) pkgeksrm(1M)
NAME
pkgeksrm - remove single correctional release (SCR) packages from sys-
tem
SYNOPSIS
/usr/sbin/pkgeksrm [-n | -b basepkg] scrinst [...]
DESCRIPTION
pkgeksrm removes previously installed SCR packages from the system.
Several SCR scrinst packages can be specified. Wildcards can also be
used within scrinst, which must be canceled with single quotes
('...') or with a backslash (\).
The files belonging to the packages are not deleted because the com-
mand should only be used directly before an update installation.
OPTIONS
-n (no remove) The SCR packages are not removed; you are only
informed of the SCR packages that would have been removed. If the
-n option is specified, any -b option is ignored.
-b basepkg
When removing an SCR package, pkgeksrm uses this option to check
whether a package information file eksinfo exists for this SCR,
which contains a
BASEPKG=basepkg
parameter. If the file does not exist, or if this parameter is
missing, or if the parameter value does not match the basepkg
options argument, the removal of the SCR package will be rejected.
If this option is not specified, none of these checks will be
carried out.
DIAGNOSTICS
The following return codes should be noted:
0 Successful execution
1 Abort (usually a wrong call)
2 Warning
3 User interrupt
85 No package scrinst ... available
88 Error opening eksinfo file
94 BASEPKG entry in eksinfo file is incorrect
Page 1 Reliant UNIX 5.44 Printed 11/98
pkgeksrm(1M) pkgeksrm(1M)
NOTES
This command should be used with care; since it is not possible to
determine whether a package is an SCR package, you could also remove
normal packages from the system with pkgeksrm.
FILES
/var/sadm/pkg/pkginst/install/eksinfo
SEE ALSO
pkginfo(1M), pkgrm(1M), removef(1M).
Page 2 Reliant UNIX 5.44 Printed 11/98